[IPython-User] per user notebook instances

Fernando Perez fperez.net@gmail....
Tue Sep 27 09:13:52 CDT 2011


Hi Moritz,

On Tue, Sep 27, 2011 at 4:26 AM, Moritz Emanuel Beber
<moritz.beber@googlemail.com> wrote:
> Just a simple question remains, can I import part of the IPython
> configuration to inspect where profiles are stored? I know the default is
> ~/.config/ipython with the later versions but if I can simply get that path
> directly I'd prefer that.

Yes, use:

from  IPython.utils.path import get_ipython_dir

and call that function.  It's the one ipython itself uses to find that path.

Cheers,

f


More information about the IPython-User mailing list