Commit 7349f2f7 by BellCodeEditor

save project

parent 9de11401
Showing with 6 additions and 4 deletions
filel=open(r'C:\\Users\\Administrator\\Desktop\\test.txt','w',encoding='utf-8') #filel=open(r'C:\\Users\\Administrator\\Desktop\\test.txt','w',encoding='utf-8')
filel.write('小兰:12本') #filel.write('小强:10本\n')
filel.close() #filel.write('李明:15本\n')
\ No newline at end of file with open(r'C:\\Users\\Administrator\\Desktop\\test.txt','a',encoding='utf-8')as file:
file.write('小郭:108923897347312895719847130847149470194730194719471本\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