[Tutor] System time

Desai, Dinakar S. Desai.Dinakar at mayo.edu
Sun Sep 7 17:03:43 EDT 2003


 

-----Original Message-----
From: Levent "?omo?lu
To: Tutor at python.org
Sent: 9/7/2003 3:34 PM
Subject: [Tutor] System time

Hi Tutor,
how can i get the time and date?
a very short question but i dont know :)


 Hello:

take a look at time module.
 eg 
import time
time.localtime()

/dinakar



More information about the Tutor mailing list