some crude python tools to make my life easier