Commit e5763ce5 by BellCodeEditor

save project

parent 9f63ce2a
Showing with 2 additions and 1 deletions
......@@ -15,7 +15,8 @@ with open(r"C:\Users\Administrator\Documents\test.txt",'r',encoding='utf-8') as
if "常山赵子龙:200000000本" in data:
data=data.replace("精神小伙,1000","常山赵子龙,1000")
new_data += data
filei.write(new_data)
with open("C:\Users\Administrator\Documents\test.txt",encoding='utf-8') as file:
file.write(new_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