You can simulate all the help yourself. The built-in help uses pydoc , which uses the ModuleScanner class to get information about all available libs - see line 1873 in pydoc.py .
Here is a slightly modified version of the code from the link:
>>> modules = [] >>> def callback(path, modname, desc, modules=modules): if modname and modname[-9:] == '.__init__': modname = modname[:-9] + ' (package)' if modname.find('.') < 0: modules.append(modname) >>> def onerror(modname): callback(None, modname, None) >>> from pydoc import ModuleScanner >>> ModuleScanner().run(callback, onerror=onerror) >>> len(modules) 379 >>> modules[:10] ['__builtin__', '_ast', '_bisect', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw'] >>> len(modules) 379
source share