Variable: python-shell-prompt-regexp
python-shell-prompt-regexp is a customizable variable defined in
python.el.gz.
Value
">>> "
Documentation
Regular expression matching top level input prompt of Python shell.
It should not contain a caret (^) at the beginning.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defcustom python-shell-prompt-regexp ">>> "
"Regular expression matching top level input prompt of Python shell.
It should not contain a caret (^) at the beginning."
:type 'regexp)