Python – How to get a list of locally installed Python modules

modulepippython

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?

Best Answer

help('modules')

in a Python shell/prompt.