import os
import os.path
import time
import random

curr_dir = os.getcwd()
print (curr_dir)
files_list = os.listdir()

for i in files_list: 
	if ".txt" in i:
		pass 
	else:
		files_list.remove(i)
		
print (files_list)

for i in range(random.randint(5,10)):
	print ("\n\n\niteration-->%s"%i)
	time.sleep(3)
	for f in files_list:
		print ("opening file %s"%f)
		time.sleep(5)
		with open(f,"w") as fl : 

			#text = fl.read()
			text = f*random.randint(1,5)
			fl.write(text)
			#fl.close()



07682ffffdaa1c4b92af38cd63bb81d4c1861bfb
<mask token>

<mask token>
print(curr_dir)
<mask token>
for i in files_list:
    if '.txt' in i:
        pass
    else:
        files_list.remove(i)
print(files_list)
for i in range(random.randint(5, 10)):
    print('\n\n\niteration-->%s' % i)
    time.sleep(3)
    for f in files_list:
        print('opening file %s' % f)
        time.sleep(5)
        with open(f, 'w') as fl:
            text = f * random.randint(1, 5)
            fl.write(text)

<mask token>
curr_dir = os.getcwd()
print(curr_dir)
files_list = os.listdir()
for i in files_list:
    if '.txt' in i:
        pass
    else:
        files_list.remove(i)
print(files_list)
for i in range(random.randint(5, 10)):
    print('\n\n\niteration-->%s' % i)
    time.sleep(3)
    for f in files_list:
        print('opening file %s' % f)
        time.sleep(5)
        with open(f, 'w') as fl:
            text = f * random.randint(1, 5)
            fl.write(text)

import os
import os.path
import time
import random
curr_dir = os.getcwd()
print(curr_dir)
files_list = os.listdir()
for i in files_list:
    if '.txt' in i:
        pass
    else:
        files_list.remove(i)
print(files_list)
for i in range(random.randint(5, 10)):
    print('\n\n\niteration-->%s' % i)
    time.sleep(3)
    for f in files_list:
        print('opening file %s' % f)
        time.sleep(5)
        with open(f, 'w') as fl:
            text = f * random.randint(1, 5)
            fl.write(text)

import os
import os.path
import time
import random

curr_dir = os.getcwd()
print (curr_dir)
files_list = os.listdir()

for i in files_list: 
	if ".txt" in i:
		pass 
	else:
		files_list.remove(i)
		
print (files_list)

for i in range(random.randint(5,10)):
	print ("\n\n\niteration-->%s"%i)
	time.sleep(3)
	for f in files_list:
		print ("opening file %s"%f)
		time.sleep(5)
		with open(f,"w") as fl : 

			#text = fl.read()
			text = f*random.randint(1,5)
			fl.write(text)
			#fl.close()


