![]() |
|
|
|
#1
|
|||
|
|||
|
Have a look at the time module that comes with Python. For example, this should print out the time in Hour:Minute:Second format:
Code:
import time
print time.strftime('%H:%M:%S',time.localtime())
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|