You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

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

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