casio1374633

导航

 

import datetime,time

 

start = datetime.datetime.now()
...dosomething()

end = datetime.datetime.now()
print(str(end - start)[:-7])

posted on 2016-10-17 09:18  casio1374633  阅读(160)  评论(0编辑  收藏  举报