need to find out all modules from site-packages
Fredrik Lundh
fredrik at pythonware.com
Thu Nov 2 01:30:23 EST 2006
alf wrote:
> I need to find all modules/lib from the site-packages along with the
> versions. Is there a way to determine physical path to the module?
>
> And is there is a way to identify all potential "importable" modules?
maybe this could be a start?
http://online.effbot.org/2006_10_01_archive.htm#listmodules-cgi
http://svn.effbot.python-hosting.com/stuff/sandbox/cgi/listmodules.cgi
(this works as a local script too)
</F>
More information about the Python-list
mailing list