changing colors in python

Kane jason.w.kane at gmail.com
Thu Apr 14 17:21:27 EDT 2005


To convert ansi escape sequences into text colors you need a terminal
that understands what you are doing.  Linux does this by default; dos
and windows do not.  You need to have an extra program in memory.  The
conventional approach is the "ANSI.SYS" driver which probably still
ships with Windows (link below).

I've included a link to nansi.com but haven't used it with any windows
version > 3.1.  If memory serves it is significantly faster.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q101875
http://alumnus.caltech.edu/~dank/nansi/




More information about the Python-list mailing list