Commit a97b797f by BellCodeEditor

save project

parent 18bef90d
Showing with 8 additions and 0 deletions
sb=open(r'C:\Users\Administrator\Desktop\新建文本文档.txt','w',encoding='utf-8')
sb.write('小A,12本\n')
sb.write('小b,12本\n')
sb.close()
with open(r'C:\Users\Administrator\Desktop\新建文本文档.txt','a',encoding='utf-8')as
sb:
sb.write('小兰,12本\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