Announcing colour-text and colour-print
Barry Scott wrote:
> Here is an example:
> from colour_text import ColourText
> ct = ColourText()
> print( ct( "The next section is in green: <>green example<>." ) )
Looking at the sources, it seems 'win32' should be
supported. But no; with the above example:
c:\>py -3 example.py
The next section is in green: ?[32mexample?[m.
No colours, just the pesky SGI-codes.
BTW. it fails completely in Python 2.7.