Timing a python program run

David dwarnold45 at suddenlink.net
Sat Jul 7 15:21:41 EDT 2007


Hi,

In matlab, I'd calculate the time for a script named test.m to run
with:

>> tic, run, toc

Is there some way to do this in python on a mac os x from the terminal
window? Or whatever?




More information about the Python-list mailing list