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?
For anyone wondering how to call pip list from a Python program you can use the following:
pip list
import pip pip.main(['list]) # this will print all the packages