[IPython-dev] Create New Notebook from Command-line
Zoltán Vörös
zvoros at gmail.com
Mon Dec 8 12:17:01 EST 2014
Hi Thomas,
On 12/06/2014 11:17 PM, Thomas Kluyver wrote:
> On 6 December 2014 at 13:51, Zoltán Vörös <zvoros at gmail.com
> <mailto:zvoros at gmail.com>> wrote:
>
> A comment along similar lines: wouldn't it make sense to allow the
> user
> to automatically execute python code before a notebook is loaded,
> somewhat similarly to what is done on the javascript side with the
> content of profile/startup/custom?
>
> Often, I find myself in a similar situation: when the name of a
> notebook
> is of a particular form, I want to create a data folder for that
> notebook, want to have a specific first cell, etc.
>
>
> We have startup files which are executed whenever an IPython kernel is
> started, including on opening a new notebook. By design, however, the
> kernel does not know the name of the notebook.
>
>
Thanks for the clarification! I didn't know about this design feature.
Cheers,
Zoltán
More information about the IPython-dev
mailing list