摘要: 一、文件的操作 1、文件的读、写、新增 读文件的获取句柄的语法:f=open('path/file') 句柄的理解: <_io.TextIOWrapper name='/root/myfile/test_directory/file1' mode='r' encoding='utf-8'> 文件句柄 阅读全文
posted @ 2017-12-06 23:42 yomi_note 阅读(273) 评论(0) 推荐(0) 编辑