>>>>> "Mayer" == Mayer  <[EMAIL PROTECTED]> writes:

    Mayer> Hello:

    Mayer> Is there a way to see at the python prompt the names of all
    Mayer> the public methods of a class or the names exported by a
    Mayer> module? I know that

If you use ipython, you can press <tab> after the period, e.g.

[~]|128> import re
[~]|129> re.<TAB>
re.DOTALL     re.MULTILINE  re.__all__    re.error      re.search
re.I          re.S          re.__doc__    re.escape     re.split
re.IGNORECASE re.U          re.__file__   re.findall    re.sub
re.L          re.UNICODE    re.__name__   re.finditer   re.subn
re.LOCALE     re.VERBOSE    re.compile    re.match      re.template
re.M          re.X          re.engine     re.purge      re.__class__
[~]|129> re.

ISTR the completion can be added to plain old python prompt as well,
through rlcompleter.

-- 
Ville Vainio   http://tinyurl.com/2prnb
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to