Mon, 17 Oct 2005

python tab complete

I don't know why I didn't look for this earlier, but I was just thinking about it now and a quick google search yeilds the answer to tab completion in the python shell (much like tab complete in bash). Simply execute:


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


and your all set. I don't know how I got by without it :)

posted at: 22:59 | path: /debian | permanent link to this entry


Powered by PyBlosxom | RSS 2.0