This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.

If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).

Module: paths

Find files and directories which IPython uses.

5 Functions


Get the IPython directory for this platform and user.

This uses the logic in get_home_dir to find the home directory and then adds .ipython to the end of the path.


Get the cache directory it is created if it does not exist.


Get the base directory where IPython itself is installed.


Find the path to an IPython module in this version of IPython.

This will always find the version of the module that is in this importable IPython package. This will always return the path to the .py version of the module.


Find the path to the folder associated with a given profile.

I.e. find $IPYTHONDIR/profile_whatever.