Refer to:http://www.techarticles.zeromu.net/programming/keeping-track-of-elapsed-time-in-python/
This is article shows how to put a few lines of Python code into your Python script I can tell how long script has B Een running, or how long a certain part of the task took to run.
The Quick Answer: For the most accurrate time elapsed, use the time module and make 2 Time.time () objects. The difference between these objects are the time elapsed. Don't use Time.clock (). The Whole Story
Its pretty basic:i have certain parts of a large Python script (which is happen to access a MySQL database) that I would like To keep track the How long it took them to execute. wrong Answers
Initially, I read on a Pleac-python article, dates and times (which really are a great overview of Python ' s time m Odule), about some ways to use Python ' s time module. That article suggests, all of you, need to does is:?