Commit eb853a05 by BellCodeEditor

auto save

parent fe4e641c
Showing with 1 additions and 1 deletions
......@@ -8,7 +8,7 @@ with open(r"C:\Users\10839\Desktop\book.txt",'r',encoding='utf-8')as file:
a=file.read()
print(a)
new_data=''
with open(r"C:\Users\10839\Desktop\book.txt",'r',encoding='utf-8')as file:
with open(r"C:\Users\10839\Desktop\book.txt",'',encoding='utf-8')as file:
for data in file:
if '小兰:12本' in data:
#print('数据找到了)
......
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