import os
import datetime
text = 'Happy everyday!'
b = os.getcwd()+'\\ostest'
if not os.path.exists(b):
    os.makedirs(b)
for i in range(20):
    nowtime = str(datetime.datetime.utcnow().strftime("%Y%m%d%H%M%S"))
    files = b+nowtime+str(i)+'.txt'
    file = open(files,'w')
    file.write(text)
    file.close()
    print(files)
