Commit e53ae043 by BellCodeEditor

save project

parent 6ab80aba
Showing with 1 additions and 1 deletions
...@@ -14,7 +14,7 @@ with open(r"C:\Users\Administrator\Desktop\book.txt",'r',encoding='utf-8') as sb ...@@ -14,7 +14,7 @@ with open(r"C:\Users\Administrator\Desktop\book.txt",'r',encoding='utf-8') as sb
ew=ew.replace('小兰:-133本','小丽:685809本') ew=ew.replace('小兰:-133本','小丽:685809本')
if '李文:9本' in sb: if '李文:9本' in sb:
ew=ew.replace('李文:4568本','阿伟:155776本') ew=ew.replace('李文:4568本','阿伟:155776本')
a +=ew new_ew +=ew
with open(r"C:\Users\Administrator\Desktop\book.txt",'w',encoding='utf-8')as sb: with open(r"C:\Users\Administrator\Desktop\book.txt",'w',encoding='utf-8')as sb:
sb.write(new_ew) sb.write(new_ew)
with open(r"C:\Users\Administrator\Desktop\book.txt",'r',encoding='utf-8') as sb: with open(r"C:\Users\Administrator\Desktop\book.txt",'r',encoding='utf-8') as sb:
......
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