The pattern ```python if isleconfig.verbose: print("...") ``` could be replaced with ```python logging.info("...") ``` and is a standard practice.
The pattern
could be replaced with
and is a standard practice.