Commit b12fef23 by BellCodeEditor

save project

parent 03ec38b7
Showing with 7 additions and 3 deletions
file=open(r"D:\abc.txt","w",encoding="utf-8") # file=open(r"D:\abc.txt","w",encoding="utf-8")
file.write('小兰:12本') # file.write('小兰:12本')
file.close() # file.close()
with open(r"D:\abc.txt","a",encoding="utf-8") as file:
file.write('小强:12本')
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