Printing with colors in a portable way

Robert Dailey rcdailey at
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

print_color( "This is my text", COLOR_BLUE )

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

More information about the Python-list mailing list