Commit cfe4ae55 by BellCodeEditor

auto save

parent ba23b58e
Showing with 10 additions and 0 deletions
new=''
with open(r'C:\Users\86132\Desktop\aa.txt','r',encoding='utf-8')as sb:
for i in sb:
if '小黑子:250' in i:
i=i.replace('小黑子:250','小黑子:250.5')
print(i)
new=new+i
with open(r'C:\Users\86132\Desktop\aa.txt','w',encoding='utf-8')as sb:
sb.write(new)
\ No newline at end of file
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