Commit 689a386f by BellCodeEditor

save project

parent 2d0a8545
Showing with 12 additions and 0 deletions
for data in filel:
if 'djs:10'in data:
data=data.replace('djs:10','djs:11')
if 'saljd:11'in data:
data=data.replace('saljd:11','saljd:12')
new_data+=data
with open(r'C:\Users\CM\Desktop\book.txt','w',encoding='utf_8')as filel:
filel.write(new_data)
with open(r'C:\Users\CM\Desktop\book.txt','w',encoding='utf_8')as filel:
a=filel.read()
print(a)
\ 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