[IPython-dev] iPython 3.0 Creating a new notebook programatically.

John Omernik john at omernik.com
Fri Feb 6 20:59:54 EST 2015

Hey all, I have been through the API docs for iPython 3, but I can't
figure out how to reproduce this in iPython 3. (It worked in iPython


In iPython 3, I get an error at

I tried some different stuff win imports. I.e. instead of

from IPython.nbformat import current as nbf

I did from iPython.nbformat import v4 as nbf and some other stuff to
get write. But that's where I am currently stuck.  Any pointers would
be helpful. Basically I want a code that will create a new notebook,
and pre fill the few lines.



More information about the IPython-dev mailing list