Re: IPython 5.0 and ConfigManager issue

Thomas Kluyver <[email protected]> Wed, 3 Aug 2016 16:14:31 +0100
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAOvn4qjT+dcYFiDHsX14RYpef+pye_SCrdjzbwVvgotmvs5ZTw@mail.gmail.com>
On 3 August 2016 at 16:07, Alan <[email protected]> wrote:

> Yet I don't get what Thomas says by "And you don't need any of the profile
> stuff - Jupiter".


The lines:

from IPython.utils.path import locate_profile
cm = ConfigManager(profile_dir=locate_profile(get_ipython().profile))

Can become:

cm = ConfigManager()

IPython has a notion of 'profiles', separate sets of configurations that
you can switch between at launch. We didn't carry this notion over to
Jupyter, and since the notebook interface is part of Jupyter, it's ignoring
the IPython profile that code finds for it.

Thomas

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev