Autocompletion in interactive mode doesn't work in 2.5.1

P

Papalagi Pakeha

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
 
J

jitudon

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top