retriable_exceptions = (FileExistsError, FileNotFoundError)
try:
pass
except (ValueError,):
except AttributeError:
except (ImportError, TypeError):
except (*retriable_exceptions,):
except(ValueError,):