473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Autocompletion in interactive mode doesn't work in 2.5.1

Hi all,

How can I turn on autocompletion when I push <tabin 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 <tabstill
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
Jun 12 '07 #1
2 1380
On Jun 12, 9:36 am, "Papalagi Pakeha" <papalagi.pak...@gmail.com>
wrote:
Hi all,

How can I turn on autocompletion when I push <tabin 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 <tabstill
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

Jun 12 '07 #2
On 6/12/07, ji*****@hotmail.com <ji*****@hotmail.comwrote:
On Jun 12, 9:36 am, "Papalagi Pakeha" wrote:
Hi all,

How can I turn on autocompletion when I push <tabin python 2.5.1
interactive mode? E.g. to give me a list of all methods and attributes
of a given object.

http://docs.python.org/lib/module-rlcompleter.html
That's it! Thanks heaps :-)

PaPa
Jun 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jonas Galvez | last post by:
A few days ago I posted about a problem I was having on Win2k, regarding a SyntaxError error on the interactive interpreter to anything I typed. The thread is located here: tinyurl.com/2kk7b ...
7
by: B.G.R. | last post by:
Hi all, I'm working on an interpreter for a university subject, which is programmed in python under linux. I got most of the work done and I'm just trying to settle some problems I've found on...
20
by: Joe | last post by:
When you run "python -i scriptname.py" after the script completes you left at the interactive command prompt. Is there a way to have this occur from a running program? In other words can I...
2
by: Charles Krug | last post by:
List: I'm trying to us pylab to see what I'm doing with some DSP algorithms, in case my posts about convolution and ffts weren't giving it away. I've been using pylab's plot function, but I'm...
1
by: Alex | last post by:
Loking at Rossum's tutorial I've seen that he sometimes uses the expression "interactive mode" and sometimes "calculator mode". Or these concepts same? I've made the following assertion. ...
0
by: Simon Eves | last post by:
I am trying to write a Python module to embed the functionality of Maya (the 3D modelling and animation application from Autodesk, formerly Alias) for doing scripted scene manipulation and...
0
balabaster
by: balabaster | last post by:
Hi, I know this question has been answered before (somewhat) but I have a twist... I've written a client/server application where the server portion runs as a windows service and allows...
4
by: digitnctu | last post by:
Dear all: I am coming with problem, to apply ctypes under interactive mode in python. libdll.dll is a third-party library. The below code segment will run well under the batch mode(ie. python...
3
by: Sal | last post by:
I'm running PHP 5.2.6 on WindowsXP. When I try interactive mode with ">php -a" the slightest syntax error throws me out of the interpreter and back to the command line. This is not very useful....
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.