Commit 91c0dc86 by BellCodeEditor

auto save

parent 45d1763c
Showing with 1 additions and 1 deletions
......@@ -18,7 +18,7 @@
# if "小兰:12本" in i:
# print("数据在文本中")
new_date=""
with open(r"D:\test.txt","r",encoding="utf-8") as file:
with open(r"D:\test.txt","r",encoding='utf-8') as file:
for i in file:
if "小兰:12本" in i:
i=i.replace("小兰:12本","小兰:13本")
......
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