tab completion in cmd
Remco Gerlich
scarblac at pino.selwerd.nl
Sun May 13 13:42:29 EDT 2001
Luca Manini <manini at eclipse-net.it> wrote in comp.lang.python:
> is it possible to have configurable tab-completion (à la tcsh) in the
> command line interface (cmd) of Python?
Yes, if your Python has readline support compiled in.
Put this in your ~/.pythonrc.py:
import rlcompleter, readline
readline.parse_and_bind('tab: complete')
(I hope that's what you meant - I have no idea what "configurable"
tab-completion would be)
--
Remco Gerlich
More information about the Python-list
mailing list