Commit 57c0da68 by BellCodeEditor

auto save

parent 35a5cf2c
Showing with 4 additions and 9 deletions
with open(r"C:\Users\2hao\Desktop\新建文件夹\chen.txt","r"encoding="utf-8")as file1: a=open(r"C:\Users\2hao\Desktop\123\make.txt","w",encoding="utf-8")
for data in file1: a.write("123456789098765432123456787654345678opoiuy65456789oiuytr4345tyujhytr43erfrewerftr43werewee12r3tuw3yukvtgheai3OCRNUVWGABGFGUYGFGYTFRTYTRTYt67656789876545678987654567890987654345678909876545678987654345678765434567645676543456765434567876545678987654345678987654567898765434567876543456")
if 'h:19' in data: a.close()
\ No newline at end of file
data=data.replace('h:19','h:20')
new_data +=data
with open(r'C:\Users\2hao\Desktop\chen.txt','r'encoding="utf-8") as file1:
file1.write(new_data)
\ 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