python-shell-enable-font-lock

python-shell-enable-font-lock is a variable defined in `python.el'.
Its value is
t


Documentation:
Should syntax highlighting be enabled in the Python shell buffer?
Restart the Python shell after changing this variable for it to take effect.

You can customize this variable.