[IPython-User] question about cell magic

Robert Nishihara robertnishihara@gmail....
Thu Jun 21 15:54:14 CDT 2012

Zoltan, are you running these in the interpreter or in a script? When I do
"%%timeit" in the interpreter, it runs immediately (with no output). When I
do "%%timeit x = 0" in the interpreter, it runs immediately and prints some
output similar to what you described. The issue may be that your
interpreter is not giving you the opportunity to input more lines before
running the command, so all of the lines after the first aren't really
doing anything.

On Thu, Jun 21, 2012 at 4:46 PM, Fernando Perez <fperez.net@gmail.com>wrote:

> On Thu, Jun 21, 2012 at 1:38 PM, Tony Yu <tsyu80@gmail.com> wrote:
> >
> > This sounds like an issue from an older checkout, and it should be fixed
> in
> > https://github.com/ipython/ipython/pull/1769/files
> but Zoltan said:
>   I have tried it with the latest version from master.
> which is why I don't understand how it can happen...
> Cheers,
> f
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120621/ae6b618f/attachment.html 

More information about the IPython-User mailing list