Python tricks

Cool, handy, and surprising snippets of code