Commit 3cc35a41 by BellCodeEditor

auto save

parent 36674b82
Showing with 5 additions and 4 deletions
with open(r'C:\Users\xingzi\Desktop\test.txt','ar',encoding='utf-8') as file: file1=open(r"C:\Users\玛酷机器人\Desktop\test.txt",'a',encoding='utf-8')
file1.write("小李:11\n") file1.write("小兰:12\n")
file1.write("小货:0本\n") file1.close()
file1.write("许群基:10000本\n") with open(r"C:\Users\玛酷机器人\Desktop\test.txt",'a',encoding='utf-8')
\ 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