python计时

2018-12-24  本文已影响0人  minlover

import time

start = time.time()

...

end = time.time()

elapsed = end -start

这个时间是秒

上一篇 下一篇

猜你喜欢

热点阅读