Colored text

Neil Cerutti horpner at
Mon Aug 13 15:37:26 CEST 2007

On 2007-08-13, Michael Bentley <michael at> wrote:
> On Aug 12, 2007, at 7:05 PM, Rohan wrote:
>> Can some one tell me how do I get colored text. Say when I want to
>> write something in a text file , how do I get it colored.
> You can use ANSI escape codes -- 
> ANSI_escape_code:

Unfortunately, most versions of Windows of the last 7 years
(2000, XP, probably Vista) don't support ANSI escape codes well
enough to work with Python.

Neil Cerutti
We have to play hard for the full 40 minutes. 48? Oh, that's right. --Mikki

More information about the Python-list mailing list