python相关
linkedGraph
https://github.com/linkedGraph
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python在IDLE中输入多行
在python命令行模式下,在IDLE中输入多行,例如if else使用tab的方式,控制缩进在最后,连续两个回车,表示结束>>> if state:... print "ok"... else:... print "wrong"...wrong>>>原创 2017-07-16 17:34:20 · 22913 阅读 · 2 评论 -
python的反射(自省)
python的反射相比java更为简单 例子: def fun1(): print ‘this is function 1’ def fun2(): print ‘this is function 2’ mylist = [] mylist.append(fun1) mylist.append(fun2)原创 2018-01-07 00:56:34 · 385 阅读 · 0 评论
分享