Here's how I set up Emacs for Python.