摘要: 打开文件 内置函数open/with open 打开文件 '''open''' f = open(r'E:\python\学习.txt', 'r', encoding='gbk') print(f.read()) f.close() '''with open''' with open(r'E:\py 阅读全文
posted @ 2022-08-08 23:44 奋斗的sunny 阅读(104) 评论(0) 推荐(0)