发布时间:2019-08-31 10:12:23编辑:auto阅读(2559)
import time
from datetime import datetime
start = round(time.time()*1000)
print start
start_ = datetime.utcnow()
print start_
time.sleep(1)
end = round(time.time()*1000)
print end
end_ = datetime.utcnow()
print end_
c = (end_ - start_)
print c.seconds
print c.microseconds
print c
print c/2
上一篇: Python printf的使用方法
下一篇: Elasticsearch集群搭建及Py
51732
51396
41821
38592
33076
30083
28750
23747
23658
22027
39°
2253°
2944°
2455°
2396°
2986°
2408°
3210°
5281°
5103°