Since Windows doesn't support the color codes used by ColorLogger directly, the output contains a lot of garbage.
However, as suggested by the python-colorlog github page:
On Windows, requires colorama to work properly. A dependancy on colorama is included as an optional package dependancy - depending on colorlog[windows] instead of colorlog will ensure it is included when installing.
also, by adding
import colorama
and
colorama.init() at the start of main() in cli.py output is much more sane.
Since Windows doesn't support the color codes used by ColorLogger directly, the output contains a lot of garbage.
However, as suggested by the python-colorlog github page:
also, by adding
and
colorama.init()
at the start ofmain()
incli.py
output is much more sane.