bundles / IPython 9.12.0 / IPython / core / shellapp / InteractiveShellApp / init_path
function
IPython.core.shellapp:InteractiveShellApp.init_path
source: /IPython/core/shellapp.py:247
Signature
def init_path(self)Summary
Add current working directory, '', to sys.path
Extended Summary
Unless disabled by ignore_cwd config or sys.flags.safe_path.
Unlike Python's default, we insert before the first site-packages or dist-packages directory, so that it is after the standard library.
Aliases
IPython.core.shellapp.InteractiveShellApp.init_path