Useful Python Idioms, Recipes,  and snippets