Tab completion for Python

November 17, 2011 @ 16:42

I just discovered this. So cool!

import readline
import rlcompleter
readline.parse_and_bind("tab: complete")

Put that in a startup file you use with $PYTHONSTARTUP.