Commit 335c4138 by BellCodeEditor

save project

parent ddfba6a8
Showing with 7 additions and 5 deletions
file=open(r"C:\Users\Administrator\Desktop\book.txt","w",encoding="utf-8") #file=open(r"C:\Users\Administrator\Desktop\book.txt","a",encoding="utf-8")
file.write('siBi') #file.write('小兰:12本')
file.write('是我蛋名') #file.close()
file.close() with open(r"C:\Users\Administrator\Desktop\book.txt","a",encoding="utf-8") as file:
\ No newline at end of file file.write('siBi:12本')
file.close()
\ 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