Demo entry 6358005

Sincronizzazione ora e data

   

Submitted by anonymous on Apr 24, 2017 at 12:52
Language: Python 3. Code size: 183 Bytes.

os.system("sudo ntpdate ntp1.inrim.it")
nomeFile = "log_"+time.strftime("%d-%m-%Y")+".txt"
outfile = open(nomeFile,'a')
outfile.write("\n"+"Start Session "+"\n")
outfile.close()

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).