cuvner
cuvner copied to clipboard
python3: click.echo vs. print()
With cuv lessopen, if I print('...'.encode('utf8') then less -R works properly (i.e. shows colours) but if I click.echo('...') then the colours don't work with less. Don't know why.
..and in Python3 the print() with encode prints out a binary repr of the string, basically.