Python mode and snippets