← 返回列表

Python3 时间time模块 方法

Python3 时间time模块 方法 #!/usr/bin/python3 import time print ("time.time(): %f " % time.time()) print (time.localtime( time.time() )) print (time.asctime( time.localtime(time.time()) ))

Python3 时间time模块 方法

#!/usr/bin/python3
import time

print ("time.time(): %f " %  time.time())
print (time.localtime( time.time() ))
print (time.asctime( time.localtime(time.time()) ))

打开资源 ↗

交流与评论