Commit 57c220f9 by BellCodeEditor

auto save

parent 17e332ed
Showing with 8 additions and 0 deletions
...@@ -12,3 +12,10 @@ file1.write('李老师:17本\n') ...@@ -12,3 +12,10 @@ file1.write('李老师:17本\n')
file1.write('钱老师:31本\n') file1.write('钱老师:31本\n')
#关闭文件 #关闭文件
file1=close() 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