simple modules to make doing some things in python more convenient