Commit 3467c0f2 by BellCodeEditor

save project

parent 9614dca3
Showing with 8 additions and 0 deletions
...@@ -4,3 +4,10 @@ with open(r'D:\DSC\DSC.txt','r',encoding = 'utf-8') as DSCHA1: ...@@ -4,3 +4,10 @@ with open(r'D:\DSC\DSC.txt','r',encoding = 'utf-8') as DSCHA1:
if 'SC:100000000000000' in date: if 'SC:100000000000000' in date:
date = date.replace('SC:100000000000000','SC:100000000000000000000000000000000000000000000000000000000000000000000000') date = date.replace('SC:100000000000000','SC:100000000000000000000000000000000000000000000000000000000000000000000000')
new_date += date new_date += date
with open(r'D:\DSC\DSC.txt','w',encoding = 'utf-8') as DSCHA1:
DSCHA1.write(new_date)
with open(r'D:\DSC\DSC.txt','r',encoding = 'utf-8') as DSCHA1:
a = DSCHA1.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