摘要: # 1、打开文件# 2 、对他读/或者写#3、关闭文件# open() file()#1、有没有清空以前的内容#2、能不能读到东西#3、文件不存在的时候会不会报错f = open(r'haha.txt','a+',encoding='utf-8')# print('read', f.read() ) 阅读全文
posted @ 2018-06-03 21:59 liudna 阅读(88) 评论(0) 推荐(0)