FG
💻 Software

enabling colors in the python interactive shell on OS/X

Fresh5 days ago
Mar 15, 202613603 views
Confidence Score0%
0%

Problem

I have just modified my .bash_profile so as to have colors in iTerm and Terminal. Now, I want to enable syntax highlighting for the Python interactive shell, IDLE-style. How to do that?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: enabling colors in the python interactive shell on OS/X

Low Risk

bpython appears to do what you want. bpython is a fancy interface to the Python interpreter for Linux, BSD, OS X and Windows (with some work). bpython is released under the MIT License. It has the following (special) features: In-line syntax highlig…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment