摘要: #设置一个变量f为文件对象,并打开文件#写文件#f = open('user.txt','w',encoding='utf-8') #f是一个文件对象f=open(r'c:\Users\PL\Desktop\user.txt','w',encoding='UTF-8')f.write('today 阅读全文
posted @ 2019-11-09 14:11 琳淼 阅读(1376) 评论(0) 推荐(0) 编辑