How can I get a list of locally installed Python modules?

Léo Léopold Hertz 준영 picture Léo Léopold Hertz 준영 · Apr 11, 2009 · Viewed 1.4M times · Source

I would like to get a list of Python modules, which are in my Python installation (UNIX server).

How can you get a list of Python modules installed in your computer?

Answer

ChristopheD picture ChristopheD · Apr 11, 2009
help('modules')

in a Python shell/prompt.