Important
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:core.profiledir
An object for managing IPython profile directories.
2 ClassesBases: Exception
Bases: LoggingConfigurable
An object to manage the profile directory and its resources.
The profile directory is used by all IPython applications, to manage configuration, logging and security.
This object knows how to find, create and manage these directories. This should be used by any code that wants to handle profiles.
Copy a default config file into the active profile directory.
Default configuration files are kept in IPython.core.profile
. This function moves these from that location to the working profile directory.
Create a new profile directory given a full path.
profile_dir (str) – The full path to the profile directory. If it does exist, it will be used. If not, it will be created.
Create a profile dir by profile name and path.
path (unicode) – The path (directory) to put the profile directory in.
name (unicode) – The name of the profile. The name of the profile directory will be “profile_<profile>”.
Find/create a profile dir and return its ProfileDir.
This will create the profile directory if it doesn’t exist.
profile_dir (unicode or str) – The path of the profile directory.
Find an existing profile dir by profile name, return its ProfileDir.
This searches through a sequence of paths for a profile dir. If it is not found, a ProfileDirError
exception will be raised.
The search path algorithm is: 1. os.getcwd()
# removed for security reason. 2. ipython_dir
Set the profile location directly. This overrides the logic used by the profile
option.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4