摘要: #打开文件 # f=open('test',encoding='utf-8')#句柄,调用操作系统 # data=f.read() # print(data) # f.close() #r只读,w只写,a只追加 #f=open('test',encoding='utf-8')#默认打开只读模式 # f=open('test','r',encoding='utf-8') # # print(f.... 阅读全文
posted @ 2018-07-12 10:26 Lzxanthony 阅读(157) 评论(1) 推荐(0)