Commit 41e03761 by BellCodeEditor

auto save

parent 835ca3e7
Showing with 9 additions and 0 deletions
#li=['小','虎','猫']
file=open('C:\\Users\\29018\\Desktop\\test.txt','w',encoding='utf-8')
file.write('2\n3')
file.close()
li=['小','虎','语']
file=open('C:\\Users\\29018\\Desktop\\test.txt','a',encoding='utf-8')
file.writelines(li)
\ 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