Often times, I need to know what modules are currently installed and available in my python VM. Here are two commands for this…
1. run “help(‘modules’)” within your python interpreter.
This will list all the modules including the standard packages that comes with Python
2. If you need to know only the modules installed by you then you can use the pip for this.
Run “pip freeze” on your command prompt to list all the packages installed by you.