Bio-Python

"Ramblings on computational chemistry, in silico experiments and programming in python 3.x"

December 19, 2012

Configuring Emacs as Python IDE


UPDATE: The following article applies only to python 2.7 (because ropemacs for py3k is not available).

This article illustrates the idea presented in emacs article that I wrote four month ago and can be found here.
I have compiled lisp codes that will be useful for anyone who is programming in python and is using emacs. At present there is no particular IDE that offers full functionality (syntax highlighting, auto-complete, refactoring etc.) So, I decided to built one using emacs.

I am using a configuration which is variant of what is described in following two pages:
1. Original article about python emacs integration can be found at enigmacurry.com
2. A more detailed and recent step by step article can be found jesshamrick.com

To download my ~/.emacs and ~/.emacs.d/ configuration for Python programming environment see emacs-config-pythonists repository.

What I like the most about python-mode in emacs is the ability to execute current buffer on doing C-c C-c.  

Try it yourself and do share your useful comments and suggestions for improvements. I would like to know how many of you (readers) have tried python development using vim/emacs (no flame wars here!). If you  have ever tried scripting python using emacs share your views. Describe ease (and annoyances) in emacs by leaving a comment. If you use any other full-fledged IDE participate in the poll below.


Where do you write python scripts? (you can select multiple choices)