How to find the installation path of python

(*-*)浩
Release: 2019-07-09 10:22:25
Original
7925 people have browsed it

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.

How to find the installation path of python

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

How to find the installation path of python

For more Python related technical articles, please visit the Python Tutorial column 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!