Commit 5f1dbf5c by BellCodeEditor

auto save

parent 3e91470e
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@
# file1.write("李文:9\n")
# file1.write("张伟:16\n")
# file1.close()
new_data=""
with open(r"C:\\Users\\BBTC\\Desktop\\book.txt","r",encoding="utf-8")as file:
for data in file:
if "小兰:12" in data:
......
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