Using Logging correctly in python
My code looks like this. It is for image reshuffling in a couple of folders. Please assume that I have made all the required imports correctly. logging.basicConfig(filename = ‘make_folders.log’, filemode= ‘w’, level=logging.INFO, format=’%(asctime)::%(message)s’) def get_path_list(directory: str) -> list: """ Get a list of absolute paths of all the files in the directory. :param directory: Path… Read More Using Logging correctly in python