python examples and snippets