
python
fyifei0558
先后就职于文思海辉,爱立信,京东,从事自动化测试、性能测试以及开发工作
展开
-
python可变变量和不可变变量
不可变变量: number: int, float, str, 元组。--指它的部分(比如element,attribute不能改变)不能改变;并不是整体不可变。另外,python所有变量皆对象。int也是一个对象。 s = 'abc'; s[0] = 'd' :这里就会报错, 可变变量 class, class instance;列表,dict, 可参考sta原创 2016-05-19 14:59:33 · 1954 阅读 · 0 评论 -
运程debug python程序
1. Eclipse (local dev machine) 配置 1.1. 添加/opt/eclipse/plugins/org.python.pydev_3.8.0.201409251235/pysrc到被调试项目python pach中 1.2. 运行pydev debug. 2.远程服务器端配置 2.1. 拷贝Eclispe dyd转载 2017-08-18 17:45:18 · 240 阅读 · 0 评论