Skip to content

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

Open
@meejah

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions