[IPython-User] question about cell magic

Thomas Kluyver takowl@gmail....
Thu Jun 21 14:58:47 CDT 2012


On 21 June 2012 20:03, Zoltán Vörös <zvoros@gmail.com> wrote:
> However, the following won't work
>
> %%timeit
> x = 0
> for i in range(100000):
>     x += i**2

It's working fine for me. What happens when you try it?

Thomas


More information about the IPython-User mailing list