Commit 0c2d3e5a by BellCodeEditor

save project

parent b736062d
Showing with 4 additions and 1 deletions
newdate=''
with open('C:\\Users\\john\\Desktop\\tv.txt','r',encoding='utf-8') as file1:
with open(r'C:\Users\john\Desktop\tv.txt','r',encoding="utf-8") as file1:
for date in file1:
if '小兰:12' in date:
date=date.replace('小兰:12','小兰,19')
......
with:open(r'\Users\john\Desktop\tv.txt') as file1:
\ 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