add python snippets