Some python-snippets