📜  测量时间 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:21.377000             🧑  作者: Mango

代码示例1
import time
startTime = time.time()

#####your python script#####

executionTime = (time.time() - startTime)
print('Execution time in seconds: ' + str(executionTime))