Home>Article>Backend Development> How to find the installation path of python
I believe there must be many people like me who often forget the path to Python installation. Whenever it is used, the stupidest way is to directly search for Python in the global computer. This way, you can definitely find it. But if your computer has a lot of files, this will be a huge job and you will have to wait for a long time.
Convenient method:(Recommended learning:Python video tutorial)
Open our cmd command
Enter Python
Enter import sys
Enter print(sys.path)
The fourth one in the list will be your installation path
For more Python related technical articles, please visit thePython Tutorialcolumn to learn!
The above is the detailed content of How to find the installation path of python. For more information, please follow other related articles on the PHP Chinese website!