Commit 01e088e1 by BellCodeEditor

auto save

parent 3c90ad00
Showing with 8 additions and 0 deletions
# file=open(r"C:\Users\Administrator\Desktop\shengdan.txt","a",encoding="UTF-8")
# file.write('SB:15\n')
# file.write('小明:100\n')
# file.close()
with open(r'C:\Users\Administrator\Desktop\shengdan.txt","a",encoding="UTF-8') as file:
file.write('SB:15\n')
file.write('小明:100\n')
\ 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