May 29, 2021 Article blog
Python's installation path is occasionally required during development using Python, and I'm sure many of my little partners will be as embarrassed as I am to forget the specific path. Today the W3Cschool editor-in-chief shares several commonly used, Python installation path-finding methods.
The first:
If your computer is newly configured and you don't have much data on your disk, searching directly for Python is the easiest way.
The second:
The win-R key runs the input CMD, enters
Python
return,
import sys
print(sys.path)
returns, and Python's installation path is displayed in the results and can be copied directly for use.
Third:
The win-R key runs the input CMD and
where python
How to see Python's installation path is introduced here, I hope to help you.