Commit 5c474951 by BellCodeEditor

save project

parent f43d97b6
Showing with 8 additions and 9 deletions
f = open(r'C:\Users\EDZ\Desktop\drtyu90oiuytfret5y7utdrser6t78tret678tr.txt','w')
f.write('jygtfrfgtyutrdtfyu\n'*90)
f.write('jygtfrfgtyutrdtfyu\n'*10000)
f.close()
f = open(r'C:\Users\EDZ\Desktop\drtyu90oiuytfret5y7utdrser6t78tret678tr.txt','a')
f.write('jygtfrfgtyutrdtfyu\n'*90)
f.write('jygtfrfgtyutrdtfyu\n'*10000)
f.close()
s = ''
with open (r'C:\Users\EDZ\Desktop\drtyu90oiuytfret5y7utdrser6t78tret678tr.txt','r') as f:
a = f.read()
for i in a:
if 'j' in i:
f = open(r'C:\Users\EDZ\Desktop\drtyu901oiuytfret5y7utdrser6t78tret678tr.txt','w')
f.write('jygtfrfgtyutrdtfyu\n'*10)
f.close()
f = open(r'C:\Users\EDZ\Desktop\drtyu901oiuytfret5y7utdrser6t78tret678tr.txt','a')
f.write('jygtfrfgtyutrdtfyu\n'*1000000)
f.close()
\ No newline at end of file
i=i.replace('j','JJ')
s += i
with open(r'C:\Users\EDZ\Desktop\drtyu90oiuytfret5y7utdrser6t78tret678tr.txt','w') as df:
df.write(s)
\ 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