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?!)
Use the following:
the output is:
showing how much time was spent in kernel and user space and the total time spent.