Commit d20b9494 by BellCodeEditor

save project

parent a8d02629
Showing with 22 additions and 0 deletions
a=open(r'C:\Users\makcoo\Desktop\88888.txt','w',encoding='utf-8')
a.write("fjj")
a.close()
a=open(r'C:\Users\makcoo\Desktop\88888.txt','r',encoding='utf-8')
u=a.read()
#data=""
a=open(r'C:\Users\makcoo\Desktop\88888.txt','r',encoding='utf-8')
#u=a.read()
#print(u)
#a.close()
for i in a:
if 'fjj' in i:
new=i.replace('fjj','tre')
#data+=new
print(new)
a=open(r'C:\Users\makcoo\Desktop\88888.txt','w',encoding='utf-8')
a.write(new)
a.close()
\ 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