Script Running Time

ewanfisher at gmail.com ewanfisher at gmail.com
Thu Feb 21 19:37:41 CET 2008


Hello,

I am trying to find a way to output how long a script took to run.

Obviously the print would go at the end of the script, so it would be
the time up till that point. I also run a PostgreSQL query inside the
script and would like to separately show how long the query took to
run.

Is this even possible?

Thanks,

Ewan



More information about the Python-list mailing list