How to view installed modules in python

View python internal module commands, built-in functions, view python installed module commands

You can use dir(modules)

Or use pip list

Or use help('modules')

Or use python -m pydoc -p 1234

Can list all installed modules

Knowledge point expansion:

Python view the method of module installation location

**1. Open the command line and enter **

python -v

**2. Take OpenCV as an example, cv2 is the name of the OpenCV module, and then enter **

import cv2

So far, this article on how to view installed modules in python is introduced. For more related python how to view which modules are installed, please search the previous articles of ZaLou.Cn or continue to browse the related articles below. Hope you will see more in the future. Support ZaLou.Cn!

Recommended Posts

How to view installed modules in python
How to view errors in python
How to introduce third-party modules in Python
How to install third-party modules in Python
How to add custom modules in Python
python how to view webpage code
How to wrap in python code
How to write classes in python
How to filter numbers in python
How to read Excel in Python
How to write return in python
How to view the python module
How to understand variables in Python
How to clear variables in python
How to use SQLite in Python
How to use and and or in Python
How to delete cache files in python
How to save text files in python
How to write win programs in python
How to run id function in python
How to custom catch errors in python
How to write try statement in python
How to define private attributes in Python
How to understand global variables in Python
How to open python in different systems
How to sort a dictionary in python
How to add background music in python
How to represent relative path in python
How to use the round function in python
How to use the zip function in Python
How to program based on interfaces in Python
How to install python in ubuntu server environment
How to simulate gravity in a Python game
How to use the format function in python
How to use code running assistant in python
How to set code auto prompt in python
Teach you how to write games in python
How to delete files and directories in python
How to install the downloaded module in python
How to write a confession program in python
How to perform continuous multiplication calculation in python
How to comment python code
How to uninstall python plugin
Introduction to Python related modules
How to view detailed network routing table in Ubuntu
How to understand the introduction of packages in Python
How to use Putty to log in to ubuntu installed in VirtualBox
How to understand a list of numbers in python
Example of how to automatically download pictures in python
How to save IE as an attachment in python
How to understand python objects
How to use python tuples
How to create a Python virtual environment in Ubuntu 14.04
Do you still know how to draw cakes in python? ? ?
How to install Helm in Ubuntu
How to use hanlp in ubuntu
How to use python thread pool
How to write python configuration file
How to install PHP7.4 in CentOS
How to save the python program
How to install mysql in Ubuntu 14.04