hodgepodge of things written in python that I don't know where to put