Variable: org-babel-python-command-session

org-babel-python-command-session is a customizable variable defined in ob-python.el.gz.

Value

auto

Documentation

Command (including arguments) for starting interactive Python sessions.

If auto (the default), uses the values from python-shell-interpreter and python-shell-interpreter-args. If org-babel-python-command is set, then it overrides this option.

This variable was added, or its default value changed, in Org version
9.7.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-python.el.gz
(defcustom org-babel-python-command-session 'auto
  "Command (including arguments) for starting interactive Python sessions.
If `auto' (the default), uses the values from
`python-shell-interpreter' and `python-shell-interpreter-args'.
If `org-babel-python-command' is set, then it overrides this
option."
  :package-version '(Org . "9.7")
  :group 'org-babel
  :type '(choice string (const auto)))