Announcing colour-text and colour-print
> On 1 Oct 2019, at 10:12, Gisle Vanem <gisle.vanem at gmail.com> wrote:
> ?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.
That are two posibility.
1. You did not call initTerminal
2. You are on an old version of windows that does not understand SGI.
> No colours, just the pesky SGI-codes.
> BTW. it fails completely in Python 2.7.