Commit b948c4bf by BellCodeEditor

save project

parent cb413ad3
Showing with 4 additions and 5 deletions
file = open("C:\\Users\\帛帛\\Desktop\\xxs.txt","w",encoding="utf-8")
file.write('小兰:12本\n')
file.write('小sb:1本\n')
file.write('hp:10000本\n')
file.close()
with open("C:\\Users\\帛帛\\Desktop\\xxs.txt","w",encoding="utf-8") as file:
file.write('小兰:12本\n')
file.write('小sb:1本\n')
file.write('hp:10000本\n')
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