Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3: click.echo vs. print() #3

Open
meejah opened this issue Jan 10, 2016 · 0 comments
Open

python3: click.echo vs. print() #3

meejah opened this issue Jan 10, 2016 · 0 comments

Comments

@meejah
Copy link
Owner

meejah commented Jan 10, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant