Commit 665877dd by BellCodeEditor

save project

parent ac351ed1
Showing with 5 additions and 2 deletions
sss=open(r'C:\Users\dell\Desktop\test.txt','w',encoding='utf-8')
sss.write('小兰:12本')
sss=open(r'C:\Users\dell\Desktop\test.txt','a',encoding='utf-8')
sss.write('小兰:12本\n')
sss.write('小丽:11本\n')
sss.write('李文:9本\n')
sss.write('张伟:16本\n')
sss.close()
......
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