我正在使用Python一段时间,我通过某些方法(如timeit())了解到我可以估计我的程序的运行时间。
但是,当我的程序在终端完成时,它是否打印出运行时间? (任何终端命令都这样做?!)
I am using Python for a while and I learned that by some method like timeit() I can estimate the running time of my programe.
But, is it any way that when my programe finished in the terminal, it also print out the running time?! (any terminal command do that?!)
请发表评论