Commit 35f81130 by BellCodeEditor

auto save

parent b4209845
Showing with 3 additions and 4 deletions
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
# file.write('李文:9本') # file.write('李文:9本')
# file.write('张伟:16本') # file.write('张伟:16本')
# file.close() # file.close()
with open(r'C:\Users\Administrator.SC2206-2023UCRO\Desktop\test.txt','a',encoding='utf-8') as file: # with open(r'C:\Users\Administrator.SC2206-2023UCRO\Desktop\test.txt','a',encoding='utf-8') as file:
file.write('小强:12本') # file.write('小强:12本')
file.write('李明:15本') # file.write('李明:15本')
\ 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