Commit 69fe8760 by BellCodeEditor

auto save

parent 04531c3f
Showing with 4 additions and 0 deletions
...@@ -18,3 +18,6 @@ for data in file: ...@@ -18,3 +18,6 @@ for data in file:
file=open(r'C:\Users\MKHG1\Desktop\新建文本文档.txt','w',encoding='utf-8') file=open(r'C:\Users\MKHG1\Desktop\新建文本文档.txt','w',encoding='utf-8')
file.write(new_data) file.write(new_data)
file.close() file.close()
file=open(r'C:\Users\MKHG1\Desktop\新建文本文档.txt','r',encoding='utf-8')
a=file.read()
print(a)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment