Commit 01916989 by BellCodeEditor

save project

parent ce044110
Showing with 3 additions and 3 deletions
...@@ -7,9 +7,9 @@ with open(r'C:\Users\ASUS\Desktop\book.txt','r',encoding='utf-8')as filel: ...@@ -7,9 +7,9 @@ with open(r'C:\Users\ASUS\Desktop\book.txt','r',encoding='utf-8')as filel:
data=data.replace('小兰:12','小兰:14) data=data.replace('小兰:12','小兰:14)
new_data +=data new_data +=data
with open(r'C:\Users\ASUS\Desktop\book.txt'3347897ghjh,'w',encoding='utf-8')as filel: with open(r'C:\Users\ASUS\Desktop\book.txt','w',encoding='utf-8')as filel:
filel.write(new_data) filel.write(new_data)
with open(r'C:\Users\ASUS\Desktop\book.txt','r',encoding='utf-8')as filel: with open(r'C:\Users\ASUS\Desktop\book.txt','r',encoding='utf-8')as filel:
a=filel.read() a=filel.read()
princjhhfkwict(a) print(a)
\ No newline at end of file \ 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