Categorized | programming and python

my emacs setup for python development

Recently I tried to give some other Python editors/IDEs a chance. I tried pydev for a while and found it good enough, but not perfect.

Truth is I have been using emacs for a long time for development. And I found myself quite comfortable to develop Python code with it. With a proper shell on the side, be it ipython or pycrust I thought my setup was good enough. And in all honesty it was good enough. Oh and I have to say I am one of those maniacs that use the brilliant, almighty, slightly blaspheme viper. The vi mode for Emacs. Ah the power!

Then recently I read this article and I realized that there might be things I was missing out. ECB, rope, ropemacs. What a beautiful discovery. So armed with a bit of patience I gave it my best shot and I managed to get it all working.

The article above is pretty explanatory but in addition to the things noted there I also added ECB and viper-mode. I had to tweak rope so that it was able to auto-complete the Python code of the Google app engine. To do that I had to add the root folder of the Google app engine code to the pythonpath property in the .ropeproject/config.py of my project.

The result is neat, very neat. Don’t believe me? Marvel at this beauty!

emacs screenshot for python development

The thing you can’t see in this screen-shot is that this setup has total auto-completion for the full Python library; re-factoring ability, instant inline documentation and much more. I have to say I am excited :D .

This post was written by:

- who has written 7 posts on be present now.


Contact the author

3 Responses to “my emacs setup for python development”

  1. maverick says:

    why dont u make a how to on this ? Would be helpful for a newbie like me…

  2. admin says:

    Hi Maverick, alright, why not. I’ll note it down for a future post. Stay tuned ;) .

  3. Suvash says:

    hey why dont you make a screencast illustrating
    the setup process.
    that will be cool

Trackbacks/Pingbacks


Twitter