Collection of python snippets