Commit efc1e23d by BellCodeEditor

auto save

parent faf8dd05
Showing with 9 additions and 0 deletions
# file=open(r"C:\Users\半半俊\Desktop\111.text",'w',encoding='utf-8')
# file.write('小明:10\n')
# file.write("小李:15")
# file.close()
with open(r"C:\Users\半半俊\Desktop\111.text",'a',encoding='utf-8') as file:
file.write('明:10\n')
file.write("李:15")
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