[IPython-dev] Create New Notebook from Command-line
Wes Turner
wes.turner at gmail.com
Sat Dec 6 18:46:25 EST 2014
On Sat, Dec 6, 2014 at 4:17 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> On 6 December 2014 at 13:51, Zoltán Vörös <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.
>
>
Are these the docs for this feature:
* http://ipython.org/ipython-doc/dev/config/intro.html
* http://ipython.org/ipython-doc/dev/config/options/index.html
.pythonrc is not present in Python 3:
* https://docs.python.org/2/library/user.html
Would this be reproducible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141206/5a97c728/attachment.html>
More information about the IPython-dev
mailing list