Hacker News new | ask | show | jobs
by billfruit 2687 days ago
Is there some way to list all modules available for importing? Some times you don't know which modules are available to ask the help for it.
1 comments

>>> help('modules')
Related post on my blog:

Get names and types of a Python module's attributes:

https://jugad2.blogspot.com/2016/10/get-names-and-types-of-p...

and the same recipe on ActiveState Code (from where you can download the Python code for the recipe):

https://code.activestate.com/recipes/580705-get-names-and-ty...