摘要: 如何从文件读入数据? python中的基本输入机制是基于行的; python中标准的“打开-处理-关闭”代码: the_file=open('文件全称') #处理文件中的数据 the_file.close() 使用IDLE来感受python的文件输入机制; 使用函数汇总: os.getcwd() # 阅读全文
posted @ 2016-03-20 18:47 垄上行 阅读(399) 评论(0) 推荐(0) 编辑
摘要: http://examples.oreilly.com/0636920003434/ 阅读全文
posted @ 2016-03-20 16:49 垄上行 阅读(2220) 评论(0) 推荐(0) 编辑