Merge python snippets