摘要: 1 # 打开文件 2 # f = open('d:\\a.txt', mode='r', encoding='gbk') 3 # content = f.read() 4 # print(content) 5 # f.close() 6 7 # 只读 8 # f = open('d:\\a.txt', mode='r', encoding='gbk') 9 # content... 阅读全文
posted @ 2018-11-18 22:27 springy 阅读(243) 评论(0) 推荐(0)