Re: ipython notebook config options ignored unless placed in regular config file
Rob Clewley <[email protected]> Sat, 18 Apr 2015 21:50:40 -0400
| Newsgroups | gmane.comp.python.ipython.user |
|---|---|
| Message-ID | <CA+7tCyShXsuxsK+S2C97Jo-eGYaOhkY7hc-G+U=URTuMjWCOZA@mail.gmail.com> |
On Sat, Apr 18, 2015 at 8:26 PM, MinRK <[email protected]> wrote: > ipython_config.py is loaded by all IPython applications (terminal IPython, > notebook server, kernel, qtconsole, etc.). Each application will then load > its own config file, giving it a higher priority than anything in > ipython_config.py. ipython_notebook_config.py only configures the IPython > notebook server process. It has no effect on the kernel process, where you > want to load extensions. ipython_kernel_config.py configures the kernel > process, etc. Thanks for these replies. I was conflating the server with the kernel in my head, and by default there were only these two config files present plus one for nbconvert. Nonetheless, the current documentation is not forthcoming about the precedence rules or the possibility of creating a new config file for the kernel. The intro page at https://ipython.org/ipython-doc/dev/config/intro.html could do with describing this all in greater detail, IMO. -Rob