Commit 3d823853 by BellCodeEditor

auto save

parent 0e6ac546
Showing with 1 additions and 1 deletions
......@@ -2,7 +2,7 @@ new_data=''
with open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8') as file:
for i in file:
if '卧槽:13本'in i:
i = i.replace('卧槽:13本','卧槽:11本、')
i = i.replace('卧槽:13本','卧槽:11本、')
new_data+=i
with open(r'C:\Users\Administrator\Desktop\text.txt','w',encoding='utf-8') as file1:
......
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