need to find out all modules from site-packages

Fredrik Lundh fredrik at
Thu Nov 2 07:30:23 CET 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?
(this works as a local script too)


More information about the Python-list mailing list