Commit 856fc0d2 by BellCodeEditor

save project

parent 3dda7ed2
Showing with 3 additions and 8 deletions
hh ='' with open(r'C:\Users\86139\Desktop\qwert.txt','r',encoding='utf-8')as hh:
with open(r'C:\Users\86139\Desktop\hh.txt','r',encoding='utf-8') as file1: a=hh.read()
for i in file1: print(a)
if'小明:10本'in i:
hh=i.replace('小明:13本')
with open(r'C:\Users\86139\Desktop\hh.txt','r',encoding='utf-8') as file1:
file1.write(hh)
\ 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