This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / 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