python-shell-font-lock-enable

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

  • This variable is safe as a file local variable if its value
    satisfies the predicate `booleanp'.

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.