Assorted usefull python scripts