EADST

Python: Count the Running Time

Count the code running time with the following Python lines.

import time

start = time.time()

# code start here
#
# code end here

end = time.time()
run_time = round(end-start, 2)
print(run_time)
       
      
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文266篇,共被浏览440704

本站已经建立2019天!

热门文章
文章归档
回到顶部