[IPython-dev] Feature request/how?

Fernando Perez Fernando.Perez at colorado.edu
Mon Feb 21 13:58:18 EST 2005


Charles Moad wrote:
> I would like a new magic function, "time".  I am not quite ipython savvy 
> enough yet to do this correctly I think.  Here is what I forsee.
> 
> In [1]: %time blah() # for example
> Out[1]: 'Blah return value'
>    Call took 0.432 seconds

from IPython.genutils import timing,timings

look at their docstrings.

Cheers,

f




More information about the IPython-dev mailing list