set python-mode configuration