add some python snippets