some crude python tools to make my life a little easier