A collection of python snippets