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.
http://docs.python.org/library/debug.html

Specifically, the timeit module
http://docs.python.org/library/timeit.html

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.

cheers,
- steve

--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to