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