pycomplete
Python Completion
Attention: this is out of date!
The Python Mode (apt-get install python-mode) for Emacs (and XEmacs) includes some code completion (which, for some reason, is not on the Debian package, I'm trying to find out why). It's quite basic, though, and Hugo Haas submitted a bug report suggesting some improvements.
Well, I've implemented them. I'm not an elisp programmer, I had the elisp manual and google opened all the time while coding this, so please bear with me if the code is ugly, inefficient, harmful etc. I've tried to keep it sound, at least.
For now, I simply implemented what Hugo suggested. However, there's room for tons of improvement (it doesn't complete method arguments, for instance), and, if no one else does it, I'll try to. I'll also post what I've done in Hugo's bug report, hoping it might be integrated in the mainstream package (or, hopefully, proof-read, tested, made better, and only then integrated :).
Anyway, here goes: (I'll put it up once I've updated it)
Just replace the "standard" pycomplete.el and pycomplete.py with these (or, if you don't have them, put these in your Emacs's load-path and Python's module path, respectively). Then, when you edit a Python file, just evaluate "(require 'pycomplete)". You can access completion via M-Tab or S-Tab.
Ah, BTW, as with the original pycomplete, you need pymacs (apt-get install pymacs)
If you have any problems or suggestions, please contact me.