首页 > 技术文章 > python 计时程序运行时间

anloveslife 2017-10-25 15:53 原文

import time

time_start=time.time()
time_end=time.time()
print('totally cost',time_end-time_start)

 

推荐阅读