Variable: python-interpreter

python-interpreter is a customizable variable defined in python.el.gz.

Value

"python"

Documentation

Python interpreter for noninteractive use.

Some Python interpreters also require changes to python-interpreter-args.

To customize the Python interpreter for interactive use, modify python-shell-interpreter instead.

This variable was added, or its default value changed, in Emacs 29.1.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defcustom python-interpreter "python"
  "Python interpreter for noninteractive use.
Some Python interpreters also require changes to
`python-interpreter-args'.

To customize the Python interpreter for interactive use, modify
`python-shell-interpreter' instead."
  :version "29.1"
  :type 'string)