ANSI escape character sequences are commonly used to produce colored terminal text on Macs and Unix. Colorama makes these work on Windows too.
It works by wrapping stdout and stderr on Windows, with proxies that filter ANSI escape sequences out of printed text, and converting them into equivalent win32 calls. This has the happy side-effect that existing applications or libraries which already use ANSI sequences to produce colored output on Linux or Macs (eg. using packages like 'termcolor') will also work on Windows, simply by calling Colorama.init(). I realise an alternative way to achieve the same result is to install the ANSI.SYS device driver, but it is fiddly and intrusive for the Python developer to do this on their machine of their application's end-user. This is the first release, and while it seems to work for me, no doubt there are still many problems with it. Ruthless feedback is very welcome, about both implementation and philosophy. http://pypi.python.org/pypi/colorama -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
