Commit 19706bd9 by BellCodeEditor

save project

parent ca9b629c
Showing with 3 additions and 0 deletions
......@@ -18,5 +18,7 @@ with open(r'C:\Users\Administrator\Desktop\hjsdhj.txt','r', encoding='utf-8') as
data=data.replace('小兰:12','小兰:14')
s_data+=data
with open(r'C:\Users\Administrator\Desktop\hjsdhj.txt','w', encoding='utf-8') as file:
file.write(s_data)
with open(r'C:\Users\Administrator\Desktop\hjsdhj.txt','r', encoding='utf-8') as file:
a=file.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