Commit 113514f0 by BellCodeEditor

auto save

parent 8cba2ae4
Showing with 8 additions and 10 deletions
with open(r'C:\Users\Administrator\Desktop\tt.txt',"w",encoding="utf-8")as a:
pass
# with open(r'C:\Users\Administrator\Desktop\tt.txt','w',encoding='utf-8')as a:
# a.write("额度色发发发")
with open(r'C:\Users\Administrator\Desktop\tt.txt','r',encoding='utf-8')as a:
b=a.read()
if "色" in b:
t=b.replace('色','过')
with open(r'C:\Users\Administrator\Desktop\tt.txt','w',encoding='utf-8')as a:
a.write(t)
......
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