摘要: 本节内容: 1.常见File方法汇总 2.open函数mode 一、常见File方法汇总 fp = open(文件路径+文件名,读写模式) >>> fp = open("F:\\test.txt","r")>>> fp.name'F:\\test.txt'>>> fp.close() >>> fp 阅读全文
posted @ 2017-08-18 15:10 yangyangchunchun 阅读(207) 评论(0) 推荐(0) 编辑