import time
tic= time.time()
# ...
toc=time.time()
print('运行时间t= %f'%(toc-tic))
Python gets the running time of the program
Guess you like
Origin blog.csdn.net/NICAI001/article/details/120805977
Recommended
Ranking