Directs all print output through new utils.print_it function. In turn that prints to either stdout (default) or stderr. Stream can be set via methods on new config.py module:
set_print_stderr()
set_print_stdout()
Also, can set print stream to stderr via cli with --print_stderr or -p flags.
Tests included.
Documented to README to new 'Developers' section (see there for reasoning).
Directs all print output through new
utils.print_it
function. In turn that prints to either stdout (default) or stderr. Stream can be set via methods on newconfig.py
module:set_print_stderr()
set_print_stdout()
Also, can set print stream to stderr via cli with --print_stderr or -p flags.
Tests included. Documented to README to new 'Developers' section (see there for reasoning).