inferior-python-mode
inferior-python-mode is an interactive compiled Lisp function in `python.el
'.
(inferior-python-mode)
Parent mode: `comint-mode'.
Major mode for Python inferior process.
Runs a Python interpreter as a subprocess of Emacs, with Python
I/O through an Emacs buffer. Variables `python-shell-interpreter'
and `python-shell-interpreter-args' control which Python
interpreter is run. Variables
`python-shell-prompt-regexp',
`python-shell-prompt-output-regexp',
`python-shell-prompt-block-regexp',
`python-shell-font-lock-enable',
`python-shell-completion-setup-code',
`python-shell-completion-string-code',
`python-eldoc-setup-code', `python-eldoc-string-code',
`python-ffap-setup-code' and `python-ffap-string-code' can
customize this mode for different Python interpreters.
This mode resets `comint-output-filter-functions' locally, so you
may want to re-add custom functions to it using the
`inferior-python-mode-hook'.
You can also add additional setup code to be run at
initialization of the interpreter via `python-shell-setup-codes'
variable.
(Type C-h m in the process buffer for a list of commands.
)