I have been writing some python scripts to automate some tasks at work for quite some time now. Each time, the script follows the same pattern, of main calling different functio