You can print the time values using the strftime() method. : Time : Buildin Module PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Module » Time »

 

You can print the time values using the strftime() method.


import time

print time.strftime("%I:%M")



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Module
» Time