Module Browsing?

Nick Efford nde at
Thu May 10 12:38:21 CEST 2001

On Tue, 08 May 2001 22:30:16 GMT, Nick Perkins <nperkins7 at> wrote:

> Is there an easier way to 'browse' a module from the command line?
> I would like to able to (quickly) see module values and their type,
> module functions and their parameters and doc strings, etc.

Under Python 2.1, use pydoc:

  >>> from pydoc import help
  >>> import mymodule
  >>> help(mymodule)

You can also run pydoc as a program at the shell prompt:

  % pydoc mymodule


More information about the Python-list mailing list