Would you like to get a list of Python modules? There are many ways you can get the list of installed packages on python. Here is How can you get a list of Python modules installed in your machine?
How to check installed modules in Python?
1. Using help function.
You can use help function
in python shell to get the list of modules installed.
help("modules")
or
help('modules package')
2. using python-pip
Install pip
by the following command.
sudo apt-get install python-pip
then enter this
pip freeze
or
pip list
3. Using pydoc
Enter the following command in your terminal
pydoc modules