Colored text
Neil Cerutti
horpner at yahoo.com
Mon Aug 13 09:37:26 EDT 2007
On 2007-08-13, Michael Bentley <michael at jedimindworks.com> 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 -- http://en.wikipedia.org/wiki/
> 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
Moore
More information about the Python-list
mailing list