from timeit
from time import clock
start = clock()
# 此处填写需要运行的函数
end = clock()
print(end - start)
转载于:https://www.cnblogs.com/everfight/p/time_it.html
from timeit
from time import clock
start = clock()
# 此处填写需要运行的函数
end = clock()
print(end - start)
转载于:https://www.cnblogs.com/everfight/p/time_it.html