balpy
balpy copied to clipboard
put print()s inside "if self.verbose:" blocks
current prints are excessive, and aren't reliably hidden behind verbose flags
Consider using Python's logging library to distinguish between INFO and DEBUG logging instead—this would allow developers to determine which log level is appropriate for their needs, it would also allow developers to route this library's logs to a specific handler (ie: file handler) rather than stdout. https://docs.python.org/3/howto/logging.html