Listing all available (not just loaded) modules

David LeBlanc whisper at oz.net
Tue Jun 18 01:37:04 EDT 2002


Idle, PythonWin and Boa (at least) do this, with PythonWin being the most
detailed - it shows classes and methods within the modules. The version of
Pythonwin I have does not show the contents of the site-packages tree, but
that would be easily fixable.

HTH,

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Michael Steuer
> Sent: Monday, June 17, 2002 20:35
> To: python-list at python.org
> Subject: Listing all available (not just loaded) modules
>
>
> I've been searching the newsgroup for information on this but so
> far have been
> unsuccessful:
>
> Is there a way to dynamically list all available modules (not
> just those that
> are already loaded) in python? By available I mean those modules,
> which are
> installed on the machine executing python (in the lib path(s)).
>
> Cheers,
>
> Mik.e
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list