I think jEdit is an excellent editor. It is easier to learn and use than vim or emacs, and has plugins that can turn it into a full blown ide. It even supports writing macros and plugins in Python with the Jython plugin.