Commit 74a0ecdc by BellCodeEditor

auto save

parent 6f80c644
Showing with 11 additions and 3 deletions
filel=open(r'C:\\Users\\玛酷5\\Desktop\\test.txt','w',encoding='utf-8') filel=open(r'C:\\Users\\玛酷5\\Desktop\\test.txt','w',encoding='utf-8')
filel.write('小兰:12本') filel.write('小兰:12本\n')
filel.write('小红:12本') filel.write('小红:12本\n')
filel.write('小白:12本') filel.write('小白:12本\n')
filel.close()
filel=open(r'C:\\Users\\玛酷5\\Desktop\\test.txt','a',encoding='utf-8')
filel.write('小兰:12本\n')
filel.close() filel.close()
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