Variable: python-shell-setup-code
python-shell-setup-code is a variable defined in python.el.gz.
Value
"try:\n import termios\nexcept ImportError:\n pass\nelse:\n attr = termios.tcgetattr(0)\n attr[3] &= ~termios.ECHO\n termios.tcsetattr(0, termios.TCSADRAIN, attr)"
Documentation
Code used to setup the inferior Python processes.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defconst python-shell-setup-code
"\
try:
import termios
except ImportError:
pass
else:
attr = termios.tcgetattr(0)
attr[3] &= ~termios.ECHO
termios.tcsetattr(0, termios.TCSADRAIN, attr)"
"Code used to setup the inferior Python processes.")