[IPython-dev] set_next_input() multiple times

John Omernik john at omernik.com
Sat Feb 14 10:40:02 EST 2015

Basically, I am trying to have some helper magic functions that fill
in code for me.  I've bene able to achieve this through putting two
lines into one cell :) Thanks though, (I feel kinda silly that I had
to ask :)

On Fri, Feb 13, 2015 at 4:48 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:
>> So there is not a way to programmatically add a couple of cells in
>> iPython Notebook?
> Not really from the kernel, where the user's code is executed. The idea is
> that the code in the notebook doesn't know about the notebook document.
> What are you trying to achieve, in a larger sense? We may be able to suggest
> another way to do it.
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

More information about the IPython-dev mailing list