Commit 47c8f857 by BellCodeEditor

auto save

parent 5c9c61b6
Showing with 1 additions and 0 deletions
...@@ -3,3 +3,4 @@ with open(r"C:\ee\sdx\text.txt","r",encoding="utf-8") as file1: ...@@ -3,3 +3,4 @@ with open(r"C:\ee\sdx\text.txt","r",encoding="utf-8") as file1:
for data in file1: for data in file1:
if "小丽:11本" in data: if "小丽:11本" in data:
print("数据在文件中") print("数据在文件中")
file.close()
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