摘要: 文件对象声明及基础操作 目录的书写方式: path1 = ‘C:\\Users\\w\\Desktop\\test.txt' path2 = 'C:/Users/w/Desktop/test.txt' path3 = r'C:\Users\w\Desktop\test.txt' 读取文件: open 阅读全文
posted @ 2020-01-15 14:35 is_WANGJW 阅读(107) 评论(0) 推荐(1) 编辑