Commit 4e6a0e18 by BellCodeEditor

save project

parent b9bc176e
Showing with 9 additions and 6 deletions
new_data = " "
with open(r"C:\Users\Administrator\Desktop\Google Chrome.lnk","w",encoding="uft-8")as file: with open(r"C:\Users\Administrator\Desktop\Google Chrome.lnk","w",encoding="uft-8")as file:
tl=file.read() t1=file.read()
for i in t1: for i in t1:
if i=="想想想想": if i=="想想想想":
tl.replace("想想想想","xxxxx") i.replace("想想想想","xxxxx")
file.write(new-data) new_data += iwith
print with open(r"C:\Users\Administrator\Desktop\Google Chrome.lnk","w",encoding="uft-8")as file1:
\ No newline at end of file file1.write(new_data)
\ 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