[IPython-dev] Push cell contents to the notebook
takowl at gmail.com
Fri Oct 5 18:08:17 EDT 2012
On 5 October 2012 22:31, Matthew Turk <matthewturk at gmail.com> wrote:
> Is there a way to push cell contents to a notebook? (Without
> executing them.) For instance, this would be useful for grabbing a
> script from a pastebin and appending it as an additional cell.
I think what you're after is the %load magic command. You can do this:
It also works with local files.
More information about the IPython-dev