Commit c710d02c by BellCodeEditor

save project

parent 613dc2f1
Showing with 1 additions and 1 deletions
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
#fh.write('小兰:12本''\n'+'小丽:11本''\n'+'李文:9本''\n'+'张伟:16本'+'\n') #fh.write('小兰:12本''\n'+'小丽:11本''\n'+'李文:9本''\n'+'张伟:16本'+'\n')
#fh.close() #fh.close()
with open('c:\\Users\\Administrator\\Desktop\\test.txt','a',encoding='utf-8') as sad: with open('c:\\Users\\Administrator\\Desktop\\test.txt','a',encoding='utf-8') as sad:
sad.write('小:12本') sad.write('小:12本')
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