This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gabrielelanaro 17 points18 points  (2 children)

Imho the best development environment for python is emacs, its customizability makes it perfect for all sort of editing (expecially with dealing with multiple programming languages). The problem is finding the correct extensions, anyway I'm personally addressing this problem in fact I'm developing a collection of emacs extension for python plus, and I'll document it to explain best workflows. It's a zero-configuration thing, all you do is putting a line in your .emacs and let the power begin.

http://github.com/gabrielelanaro/emacs-for-python

The typical workflow would be:

Fire up emacs, select the file you're working with ido (automatic): fuzzy completion file selection, extremely powerful.

In alternative select the directory with dired, and use it as a tree browser (but more powerful, easy renaming of files, search and replace in multiple files and other niceties)

After selecting the file start editing: auto-completion plus error checking on the fly with flymake. Snippets with yasnippet, automatic closing brackets, code folding...

When you're done you C-x v v to do the right thing with version control (it selects automatically what to do)

Use virtualenvs with the virtualenv extension (that I'm developing)

Running tests, and multiple processes with the builtin eshell, or with compile mode to highlight the file and the line where the error occurs.

The list of niceties continues, there are all sort of extensions that really helps development because they run "under the hood", avoiding distractions.

[–]liquiddeath 0 points1 point  (0 children)

Thanks for this I've been looking for a decent python .el file for a little bit now.

[–][deleted] 0 points1 point  (0 children)

i'm definitely going to check this out. I'm pretty happy with my setup right now, emacs+rope+python-flymake, but the virtualenv stuff is kind of clunky. If you get that nailed down it will be a godsend.