[BangPypers] Place the timer in Python script

steve steve at lonetwin.net
Fri Sep 18 12:13:25 CEST 2009

On 09/18/2009 03:33 PM, Vamsi wrote:
> How to place the timer in python code.
> I want calculate the python script execution time.
> ex : Start Timer
>       : End Timer
> Execution Time : End Timer - Start Timer.
> How can we write the python code for this.

Specifically, the timeit module

btw, dunno if you've heard about this really neat web application. It is a 
simple text box with a couple of buttons that answers questions such as these. I 
forgot it's name. It's something like golgol or some such.

- steve

random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/

More information about the BangPypers mailing list