Re: Announcing colour-text and colour-print

2019-10-01 Thread Barry
> On 1 Oct 2019, at 10:12, Gisle Vanem wrote: > > 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'

Re: Announcing colour-text and colour-print

2019-10-01 Thread Gisle Vanem
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

Re: Announcing colour-text and colour-print

2019-09-30 Thread Peter Otten
Barry Scott wrote: > See https://pypi.org/project/colour-text/ for documentation > with colourful examples. > > Install using pip: > > python -m pip install colour-text Have you considered to spell that color-text? In programming the guys who can't spell won ;) --

Announcing colour-text and colour-print

2019-09-30 Thread Barry Scott
See https://pypi.org/project/colour-text/ for documentation with colourful examples. Install using pip: python -m pip install colour-text Many command line tools now colour there output to make it easier to pick out important details. I want to do the same for my commands that I tend