摘要: 文件操作分为读、写、修改。 一、读取文件。 f = open(file="D:/文件/p1.txt",mode='r',encoding='utf-8') 绝对路径。 f = open(file = "p1.txt", mode='r', encoding='utf-8') 打开 文档 = 路径(文 阅读全文
posted @ 2020-07-03 09:29 东风伴侣 阅读(146) 评论(0) 推荐(0) 编辑