Commit 5ceeda60 by BellCodeEditor

save project

parent 30cb740e
Showing with 7 additions and 0 deletions
...@@ -6,3 +6,10 @@ filel.write('李文:9本') ...@@ -6,3 +6,10 @@ filel.write('李文:9本')
filel.write('张伟:16本') filel.write('张伟:16本')
#关闭文件 #关闭文件
filel.close() filel.close()
with open(r'C:\Users\凤凰机器人金科3\Desktop\test.txt','a',encoding='utf-8')as filel2:
filel2.write('小强:12本\n')
filel2.write('李明:15本\n')
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