In order to develop more easily, I apt-got emacs which runs perfectly in text mode. By the way, syntax highlight doesn't work out of the box.
This is what you're going to need:
- install the python-mode package;
- create, if you don't have one already, a ~/.emacs file, and append this line: (global-font-lock-mode 1).