Re:Zed's "One Battery Review" of Django
by kirubakaran on Friday March 20, 2009 @06:17PM
(#525701)
emacs is actually awesome for Python programming. For easy Python coding, just add the following to your .emacs file:
Also get ipython.el -- very handy. My .emacs is here for your reference: http://github.com/ki/my-dot-emacs/blob/master/dot-emacs.txt
[ Parent
| on HN ]
Re:Zed's "One Battery Review" of Django
by twopoint718 on Friday March 20, 2009 @10:55PM
(#525895)
This was the tutorial shed a lot of light on the issue:
http://student.northpark.edu/pemente/emacs_tabs.htm
You get to configure at least three things: how many things emacs enters when you press "tab", what those things are, and if you see a tab in a file how wide it should be.
Anybody have a good .vimrc file for Python, or thoughts on customizing vim for Python?
Use the indentation script pointed to and explained by this article:
http://henry.precheur.org/2008/4/18/Indenting_Python_with_VI...
It is better than the default vim python autoindentation behavior.
Actually, I think vim comes with pretty good Python support by default. I'm using vim 7.1 and there's, for example, a good python.vim syntax file that came with.
You can find some goodies here: http://blog.sontek.net/2008/05/11/python-with-a-modular-ide-...