Commit fd281ae9 by BellCodeEditor

save project

parent 78fafb32
Showing with 2 additions and 1 deletions
...@@ -6,6 +6,6 @@ filel.write('李文:9本\n') ...@@ -6,6 +6,6 @@ filel.write('李文:9本\n')
filel.write('张伟:16本\n') filel.write('张伟:16本\n')
filel.close() filel.close()
with open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-') as filel: with open(r'C:\Users\Administrator\Desktop\book.txt','a',encoding='utf-') as filel:
filel.write('张伟:16本\n') filel.write('张伟:16本\n')
filel.write('小丽:11本\n') filel.write('小丽:11本\n')
\ 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