Commit c0efecd4 by BellCodeEditor

auto save

parent 0142e187
Showing with 1 additions and 1 deletions
...@@ -6,7 +6,7 @@ with open(r"C:\panyuxuan\test.txt","r",encoding='utf-8') as files: ...@@ -6,7 +6,7 @@ with open(r"C:\panyuxuan\test.txt","r",encoding='utf-8') as files:
new_data+=data new_data+=data
with open(r"C:\panyuxuan\test.txt","w",encoding='utf-8') as files: with open(r"C:\panyuxuan\test.txt","w",encoding='utf-8') as files:
files.write(new_data) files.write(new_data)
with open(r"C:\panyuxuan\test.txt","r",encoding='utf-8') as files: with open(rkk"C:\panyuxuan\test.txt","r",encoding='utf-8') as files:
a=files.read() a=files.read()
print(a) print(a)
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