'Intellisense' possible for Python?

Patrick W patrickw106 at yahoo.com.au
Wed Dec 18 22:38:33 EST 2002


"Greg Brunet" <gbrunet at nospamsempersoft.com> writes:

> What I'm looking for are ways that the IDE can help me out - simple
> stuff, like:

> - When I can't remember the exact names of all of the methods or
> properties of a class, it's nice if they pop up when I type "object." so
> I can scan through them to find the one I'm looking for.

The interactive interpreter offers these facilities with 'dir' and
'help'.

E.g.:

>>> x = range(10)
>>> dir(x)
['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',
'__delslice__', '__doc__', '__eq__', '__ge__', '__getattribute__',
'__getitem__', '__getslice__', '__gt__', '__hash__', '__iadd__',
'__imul__', '__init__', '__le__', '__len__', '__lt__', '__mul__',
'__ne__', '__new__', '__reduce__', '__repr__', '__rmul__',
'__setattr__', '__setitem__', '__setslice__', '__str__', 'append',
'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse',
'sort']

>>> help(x.insert)
Help on built-in function insert:

insert(...)
    L.insert(index, object) -- insert object before index




More information about the Python-list mailing list