[Tutor] how to print a string in desired colour

Devin Jeanpierre jeanpierreda at gmail.com
Sun Feb 12 14:55:22 CET 2012


On Sun, Feb 12, 2012 at 8:02 AM, Scott Nelson <sirgnip at gmail.com> wrote:
> On Sun, Feb 12, 2012 at 6:47 AM, Debashish Saha <silideba at gmail.com> wrote:
>>
>> suppose i want to print 'hello world' in color blue.so what to do?
>>
>
> There was a similar thread awhile ago.  Unfortunately the answer isn't an
> easy one.  It depends on what operating system you use.  Here's a link to
> the old thread: http://comments.gmane.org/gmane.comp.python.tutor/67743

Colorama works on every major desktop platform.

http://pypi.python.org/pypi/colorama

-- Devin


More information about the Tutor mailing list