Discussion  - 
Emacs users: How do you set up your Python development environment? What Emacs packages do you use?﻿
Henrik Holmboe's profile photoDev Heshmatpour's profile photomark hellewell's profile photoAlejandro Cabrera's profile photo
I'm curious about this, as well. I only use the standard python-mode as far as emacs goes.

I use pip, pep8, autopep8, pylint, pytest/nose,  tox, httpie, and virtualenv in my development environment.﻿
I used ipython.el, but it broke when I moved from Emacs 23 to 24. Even under 23 I had problems running it on Windows.﻿
In my python-mode-hooks I have:

* rainbow-mode (if hex colour codes are detected in strings, emacs colours the string appropriately). Not terribly useful, and I was surprised it was still there when I checked my hooks just now!

* flymake-mode (hooked up to flymake-pyflakes).  Tells me about unused imports and unknown/unused variables.

* rainbow-delimiters-mode. Colours nested matching parenthesis.  They don't show up in my code very often, and I just threw this in for the hell of it, after tinkering on some elisp.

* linum-on.  I don't have global-linum-mode enabled, preferring to only enable it for buffers containing actual code.

* jedi:setup.  Install it from ELPA with “M-x package-install<RET>jedi”.  This one is pretty cool, and hooks up Emacs' builtin autocomplete to provide proper python autocomplete based on code introspection.  Docstring integration is nice, too.

Some other little bits and bobs:

* customised `line-spacing' to 1: puts some more space between lines, which I like.

* customised `global-hl-line-mode' so I can find the point more easily.﻿
Mostly emacs-jedi because it has quite good auto complete goto etc. 
Obviously pycheckers + pyflakes﻿
Add a comment...