import time

f = open('myfile', 'a') #create new file for writing
now = time.strftime('%d/%m/%y %H:%M:%S',time.localtime())
f.write(now+"\n") #write first line
f.close()
##f = open('myfile', 'a') #open existing file to append new line
##f.write('456'+"\n")
##f.close()
##f = open('myfile', 'a') #open existing file to append new line
##f.write('pluton'+"\n")
##f.close()



#now = time.strftime('%d/%m/%y %H:%M%S',time.localtime())
