摘要: import csv # 采用DictReader进行读写:# 读csv文件def get_data(self, from_file): test_data = [] with open(from_file, 'rb') as csv_file: csv.register_dialect('read 阅读全文
posted @ 2017-05-15 11:51 workingdiary 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: C:\Python27\Lib\ConfigParser.py: 会将配置文件中的选项名改为小写 为了保持配置项名称的大小写格式,重写: 阅读全文
posted @ 2017-05-15 11:43 workingdiary 阅读(4273) 评论(0) 推荐(0) 编辑
摘要: 摘自:菜鸟教程 http://www.runoob.com/linux/linux-shell-echo.html 阅读全文
posted @ 2017-05-15 11:00 workingdiary 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Linux安装python2.7 阅读全文
posted @ 2017-05-15 10:43 workingdiary 阅读(30778) 评论(1) 推荐(0) 编辑