Module: paths — IPython 5.1.0 documentation

# Module: `paths`

Find files and directories which IPython uses.

## 5 Functions

`IPython.paths.` `get_ipython_dir`()

  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.

`IPython.paths.` `get_ipython_cache_dir`()

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

`IPython.paths.` `get_ipython_package_dir`()

  Get the base directory where IPython itself is installed.

`IPython.paths.` `get_ipython_module_path`(module_str)

  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.

`IPython.paths.` `locate_profile`(profile='default')

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

  I.e. find $IPYTHONDIR/profile_whatever.