Python的time module里的两个函数

>>> from time import *

>>> strftime("%H:%M:%S", localtime())

'19:43:19'

>>> time() 

1479123830.3926537

>>> int(time())

1479123934


评论

© ID4333709 | Powered by LOFTER