码迷,mamicode.com
首页 >  
搜索关键字:choice    ( 840个结果
地址操作(注意)
对地址操作会改变数值,切记 time :2017.5.4 事件:用C语言实现四则运算 #include<stdio.h>#include<windows.h> void Print_out();char * Add(char * a, char * b); char * Div(char * a, ...
分类:其他好文   时间:2017-05-05 00:59:45    阅读次数:164
python文件的增删改查操作
1 def choice(): 2 print(''' 3 1 查找 4 2 删除 5 3 添加 6 4 修改 7 ''') 8 def forlist(): 9 with open("test2", encoding="utf8", mode="r+") as w: 10 for line in ...
分类:编程语言   时间:2017-05-02 23:32:44    阅读次数:240
机器学习笔记(Washington University)- Regression Specialization-week one
1. Convex and concave functions Concave is the upside-down of the convex function and convex is a bow-shaped function 2. Stepsize common choice: as th ...
分类:其他好文   时间:2017-05-01 18:20:17    阅读次数:202
【Unity3D】【NGUI】Atlas的动态创建
NGUI讨论群:333417608 NGUI版本号:3.6.5 1、參见SZUIAtlasMakerRuntimeTest设置对应的值以上值须要提前设置好 2、没有检查是否atlas可以正确创建。自己可以改,增加返回值 3、代码都是在NGUI里面拷贝出来的。仅仅是进行修改。没有新代码 4、适用与那种 ...
分类:编程语言   时间:2017-05-01 17:04:10    阅读次数:295
python三级菜单
好的程序员都会写出非常优质的代码,什么是优质的代码呢?你用30行代码实现的东西,人家只需要10行,这就是差别。同样,三级菜单还有一套更精简的代码,就叫高大上版吧 ...
分类:编程语言   时间:2017-04-29 11:55:20    阅读次数:181
February 19 2017 Week 8 Sunday
We accept the love we think we deserve. 我们接受自己认为配得上的爱。 A few months ago, I tried to date with a girl whose appearence is very attractive for me. But s ...
分类:其他好文   时间:2017-04-26 13:06:31    阅读次数:132
文件操作之增删改查应用
def delect(): '删除一行信息'# m = www.oldboy2.org while 1 : flag = False m = input('please input which url you want to delect:') with open('haproxy.conf',en ...
分类:其他好文   时间:2017-04-15 19:26:36    阅读次数:210
shell编程——if语句 if -z -n -f -eq -ne -lt
if 的三种条件表达式 [ ] && ——快捷if shell的if与c语言if的功能上的区别 以command作为if 条件 以多条command或者函数作为if 条件 以函数作为if条件 (函数就相当于command,函数的优点是其return值可以自定义) if command 等价于 com ...
分类:系统相关   时间:2017-04-13 17:12:51    阅读次数:319
Android webRTC 代码下载编译
1、安装depot tools 然后把把depot_tools添加到环境变量中去 2.下载代码 创建一个工作目录 下载代码 This will fetch a regular WebRTC checkout with the Android-specific parts added. Notice ...
分类:移动开发   时间:2017-04-12 02:16:55    阅读次数:250
python学习-练习题1巩固
1、生成随机数 random.random()生成一个0-1之前的随机数 random.uniform(1,10)生成一个区间范围内的随机数 random.randint(3,9)生成一个区间范围内的整数随机数 random.choice(list or str or tunple)在列表、元组、字 ...
分类:编程语言   时间:2017-04-11 11:57:58    阅读次数:245
840条   上一页 1 ... 59 60 61 62 63 ... 84 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!