Commit 57c220f9 by BellCodeEditor

auto save

parent 17e332ed
Showing with 9 additions and 2 deletions
......@@ -11,4 +11,11 @@ file1=open (r'C:\Users\EDY\Desktop\test.txt'a'encuding.utf-8')
file1.write('李老师:17本\n')
file1.write('钱老师:31本\n')
#关闭文件
file1=close()
\ No newline at end of file
file1=close()
with open (r'C:\Users\EDY\Desktop\test.txt'r'encuding.utf-8')as file1:
for data in file1:
if '小兰:10'
\ 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