List of modules available for import inside Python?

Fredrik Lundh fredrik at pythonware.com
Thu Aug 28 12:10:43 EDT 2008


pruebauno at latinmail.com wrote:

>> Is there a way to view all the modules I have available for import
>> from within Python?
>> Like writing in the interpreter:
>> import.modules
>>
>> Also, is there anything like Cpan for Python?
> 
> Isn't the most obvious answer to the first question this link?

depends on whether you want a list of the modules that you might be able 
to import, or the modules that are actually present on your system.

</F>




More information about the Python-list mailing list