Matlab equivalent syntax in Python

Tim Roberts timr at probo.com
Fri Nov 26 01:37:33 EST 2010


Akand Islam <sohel807 at gmail.com> wrote:
>
>Can anyone please suggest me what will be the good way to use matlab
>equivalent of "profile clear, profile on, profile off, profile resume
>and profile viewer" in Python?

Python has a number of ways of measuring elapsed time, including the
"timeit" module and the "trace" module.  There's nothing that will display
the results in a pretty graph, so the answer depends on what you are after.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list