should i switch to IPYTHON interpreter? What is the killer feature of it?
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Wed Dec 10 12:17:47 EST 2003
дамјан г. wrote:
> Put this in ~/.pythonrc, and setup the PYTHONSTARTUP environment variable to
> point to it: export PYTHONSTARTUP=~/.pythonrc
>
>
> # ~/.pythonrc
> # enable syntax completion
> try:
> import readline
> except ImportError:
> print "Module readline not available."
> else:
> import rlcompleter
> readline.parse_and_bind("tab: complete")
I say thank you ! This works like a charm.
Somehow I've never discovered rlcompleter... :-)
--Irmen
More information about the Python-list
mailing list