Printing with colors in a portable way

Robert Dailey rcdailey at gmail.com
Thu Jul 30 18:40:37 EDT 2009


Anyone know of a way to print text in Python 3.1 with colors in a
portable way? In other words, I should be able to do something like
this:

print_color( "This is my text", COLOR_BLUE )

And this should be portable (i.e. it should work on Linux, Mac,
Windows).



More information about the Python-list mailing list