发布时间:2019-08-31 10:12:23编辑:auto阅读(2493)
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
51327
50780
41374
38178
32665
29556
28394
23273
23241
21565
1646°
2377°
1982°
1922°
2249°
1956°
2650°
4441°
4277°
3047°