[IPython-dev] Playing with cells in the notebook... and some problems.

Damián Avila damianavila@gmail....
Thu Aug 8 11:12:23 CDT 2013


El 08/08/13 03:26, Matthias BUSSONNIER escribió:
>
> Le 8 août 2013 à 08:01, Damián Avila a écrit :
>
>> In this way, I get the a copy of the cell but it is not executable...
>
>
> Yes it is, Shift-Enter is just not bound to it.
> Shift-Enter is handled by IPython.notebook and is bound to execute 
> selected cell
>
> As notebook object does nt know of your cell, you are just sending the 
> execute request to the wrong cell.
>
> adding this :
>
> window.ccell = cell;
>
> and then ccell.execute() in JSconsole works.
>
> -- 
> M
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

I do not understand what `window.ccell = cell;` is doing... so I do not 
know where to add it... ;-)

Damián.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130808/3be3f72f/attachment.html 


More information about the IPython-dev mailing list