remove python snippets