[IPython-dev] Do we have an get_ipython_dir

Fernando Perez fperez.net@gmail....
Wed Sep 3 16:08:07 CDT 2008


On Wed, Sep 3, 2008 at 1:59 PM, Brian Granger <ellisonbg.net@gmail.com> wrote:
> Hi,
>
> Do we have a get_ipython_dir function somehere.  I see a get_home_dir
> in genutils, but not one for finding the .ipython dir on all
> platforms.
>
> Also, if this function doesn' exist, where is the equivalent logic?

The logic is unfortunately not encapsulated in a function, it's inline
in the old, messy ipmaker.py.  The *value* however, is available as
IP.ipythondir, where IP is the main ipython object.

This should obviously be refactored later...

Cheers,

f


More information about the IPython-dev mailing list