2016年3月9日

摘要: 一.打开文件 #使用 with 语句操作文件对象 with open(r'somefileName') as somefile: for line in somefile: print line # ...more code 阅读全文

posted @ 2016-03-09 15:17 Vincent90 阅读(439) 评论(0) 推荐(0) 编辑

摘要: 一. with 链接地址:https://www.ibm.com/developerworks/cn/opensource/os-cn-pythonwith/ 阅读全文

posted @ 2016-03-09 15:04 Vincent90 阅读(201) 评论(0) 推荐(0) 编辑


Copyright © 2024 Vincent90
Powered by .NET 8.0 on Kubernetes