Timing a python program run

Lawrence Oluyede raims at dot.com
Sat Jul 7 16:13:45 EDT 2007


David <dwarnold45 at suddenlink.net> wrote:
> Is there some way to do this in python on a mac os x from the terminal
> window? Or whatever?

You can use:

% time script.py

from the command line of the terminal

-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair



More information about the Python-list mailing list