请转到www.cnblogs.com/iMath/

■■■■■■■■■■本博客打算放弃,请转到www.cnblogs.com/iMath/

Python的time module里的两个函数

>>> from time import *

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

'19:43:19'

>>> time() 

1479123830.3926537

>>> int(time())

1479123934


评论

© 请转到www.cnblogs.com/iMath/ | Powered by LOFTER