Commit 89420281 by BellCodeEditor

save project

parent 1eaee4a4
Showing with 2 additions and 9 deletions
ddd = "" with open("c:\\Users\\帛帛\\Desktop\\sales_list.txt",'r',encoding=("utf-8")) as file:
with open("C:\\Users\\帛帛\\Desktop\\xxs.txt","r",encoding="utf-8") as file: \ No newline at end of file
for i in file:
if "sb:10" in i:
i = i.replace("sb:10","sb:9")
ddd += i
with open("C:\\Users\\帛帛\\Desktop\\xxs.txt","r",encoding="utf-8") as file:
file.write(ddd)
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