Commit 0dc7e037 by BellCodeEditor

save project

parent 3ac354b9
Showing with 4 additions and 2 deletions
......@@ -5,4 +5,6 @@ with open('C:\\Users\\legao-001\\Desktop\\35487888974454545.txt','r',encoding='U
print('目标在文件中')
d=date.replace("小强","小军")
to=to+d
print(to)
\ No newline at end of file
print(to)
with open('C:\\Users\\legao-001\\Desktop\\35487888974454545.txt','w',encoding='UTF-8') as file:
file.write(to)
\ 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