Function: python-shell-internal-get-or-create-process

python-shell-internal-get-or-create-process is a byte-compiled function defined in python.el.gz.

Signature

(python-shell-internal-get-or-create-process)

Documentation

Get or create an inferior Internal Python process.

Aliases

python-proc (obsolete since 24.3)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-shell-internal-get-or-create-process ()
  "Get or create an inferior Internal Python process."
  (let ((proc-name (python-shell-internal-get-process-name)))
    (if (process-live-p proc-name)
        (get-process proc-name)
      (run-python-internal))))