[xpt] Improve Python snippets
vim: Space for leader!