I\'m looking for a better way to call functions based on a variable in Python vs using if/else statements like below. Each status code has a corresponding function
you might find getattr useful, I guess
import module getattr(module, status.lower())(*args, **kwargs)