Barry Scott wrote:

Here is an example:

from colour_text import ColourText
ct = ColourText()
ct.initTerminal()

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.

--
--gv
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to