Commit 9d21a29a by BellCodeEditor

auto save

parent 1dbe59f0
Showing with 3 additions and 3 deletions
......@@ -14,7 +14,6 @@
# for data in file1:
# if'小强:10本'in data:
# print('数据在表格中')
file1=open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-8')
file1.write('小强:12本\n')
file1.write('李明:15本\n')
#file1=open(r'C:\Users\Administrator\Desktop\book.txt','a',encoding='utf-8')
file1('小兰:12本')
file1.close()
\ 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