Commit a86bc290 by BellCodeEditor

auto save

parent a1610f08
Showing with 5 additions and 3 deletions
file1=open('C:\\Users\\Administrator\\Desktop\\text.txt','w',encoding='utf-8')
file1.write('小兰:12本')
\ No newline at end of file
# file1=open('C:\\Users\\Administrator\\Desktop\\text.txt','w',encoding='utf-8')
# file1.write('小兰:12本')
with open('C:\\Users\\Administrator\\Desktop\\text.txt','w',encoding='utf-8') as file1:
file1.write('李明:15本')
\ 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