Loguru is a library which aims to bring enjoyable logging in Python. It is intended to make Python logging less painful by adding a bunch of useful functionalities that solve caveats of the standard loggers.
2023-02-16
Logging is a very useful tool in a programmer’s toolbox. It helps you develop a better understanding of the flow of a program It helps you discover scenarios that you might not even have thought of while developing
2023-01-11
Basic usage import argparse def get_args_parser(): # set up a parser parser = argparse.ArgumentParser(description=f"{program_description}") # define parsing rules and operations for different arguments # parser.add_argument() # ... return parser if __name__ == '__main__': parser = get_parser() # parse command line args = parser.
2023-01-04