How to DRY your Python code
DRY ( Don’t Repeat Yourself ) is generally considered to be a good and important practice for writing good code which I mostly agree with* and while there are tons of folks that will shout at you that your code is not DRY, I have yet to find anybody that tells you how to DRY your code while they are shouting at you, so here we are…