Function: python-shell-calculate-command

python-shell-calculate-command is a byte-compiled function defined in python.el.gz.

Signature

(python-shell-calculate-command)

Documentation

Calculate the string used to execute the inferior Python process.

Aliases

python-shell-parse-command (obsolete since 25.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-shell-calculate-command ()
  "Calculate the string used to execute the inferior Python process."
  (format "%s %s"
          ;; `python-shell-make-comint' expects to be able to
          ;; `split-string-and-unquote' the result of this function.
          (combine-and-quote-strings (list python-shell-interpreter))
          python-shell-interpreter-args))