[IPython-dev] %timeit

Torsten Marek shlomme at gmx.net
Fri Mar 10 03:05:10 CST 2006


Hi,

I've got a patch that introduces a new magic %timeit function, which resembles
the behaviour of timeit.py. Unfortunately, I had to duplicate some code in order
to let the timed statement be executed in the shell namespace, maybe there is a
better version.

best regards

Torsten
-- 
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeit-magic.patch
Type: text/x-patch
Size: 4152 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/ipython-dev/attachments/20060310/1fd20b13/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://projects.scipy.org/pipermail/ipython-dev/attachments/20060310/1fd20b13/attachment-0001.bin 


More information about the IPython-dev mailing list