Autocompletion in interactive mode doesn't work in 2.5.1

jitudon at hotmail.com jitudon at hotmail.com
Tue Jun 12 04:45:26 EDT 2007


On Jun 12, 9:36 am, "Papalagi Pakeha" <papalagi.pak... at gmail.com>
wrote:
> Hi all,
>
> How can I turn on autocompletion when I push <tab> in python 2.5.1
> interactive mode? E.g. to give me a list of all methods and attributes
> of a given object.
>
> It works great on my Linux / Ubuntu 7.04 installation but doesn't work
> on Solaris 10 (x86). I have libreadline.so and libncurses.so installed
> and "import readline" is executed during startup, but <tab> still
> doesn't work. ArrowUp and ArrowDown however work and I can browse the
> history of commands so I believe readline is installed and loaded
> correctly.
>
> Any hints?
>
> Thanks
>
> PaPa

http://docs.python.org/lib/module-rlcompleter.html




More information about the Python-list mailing list