A set of assorted Python hacks to make your life suck less.