Commit 718385f0 by BellCodeEditor

save project

parent 7219f16a
Showing with 1 additions and 1 deletions
...@@ -11,7 +11,7 @@ with open(r'C:\Users\BBTC\Desktop\test.txt','r',encoding='utf-8') as a: ...@@ -11,7 +11,7 @@ with open(r'C:\Users\BBTC\Desktop\test.txt','r',encoding='utf-8') as a:
for date in a: for date in a:
if "D:10" in date: if "D:10" in date:
date=date.replace('D:10','D:11') date=date.replace('D:10','D:11')
new_date+=date new_date + = date
with open(r'C:\Users\BBTC\Desktop\test.txt','r',encoding='utf-8') as a: with open(r'C:\Users\BBTC\Desktop\test.txt','r',encoding='utf-8') as a:
a.write(new_date) a.write(new_date)
......
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