Where is the directory after python installation

Download the python installation package from the official website, and you can choose to install it on the C drive or D drive or other disks during the installation process.

If you forget where to install, you can use the following command in the command line

where python

Will display the absolute path of python

C:\Users\Administrator where python
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\python.exe
C:\Users\Administrator

Use python

Also open the command line and enter Python as follows

C:\Users\Administrator python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

At this point, you have entered the interactive mode of python and you can write code.

Method extension:

Can't find python installation path solution

Solution 1: Use python command line

Solution 2: Install python again, you can see the original installation path. At the same time, configure the python environment variables

Solution three: show hidden files

So far, this article on where the python directory is after installation is introduced. For more relevant python installation content, please search for ZaLou.Cn's previous articles or continue to browse related articles below. Hope you will support ZaLou more in the future. .Cn!

Recommended Posts

Where is the directory after python installation
Where is the pip path of python3
How to practice after the python file is written
Initialize after CentOS 7 installation is complete
What is the id function of python
What is the prospect of python development
What is the function of adb in python
Python2.7 [Installation Tutorial]
Python 3.9 is here!
Python - centos6 installation
Python Anaconda installation
2.1 The Python Interpreter (python interpreter)
Python is short-what does the spirit cage say
What is the advantage of python over corporate language
Why python is popular
Python is short-crawling music
Python is slowly fading
Consolidate the Python foundation (2)
Minimalism is the soul of Python | Python code to find bugs (10)
The screen is blank after upgrading the new version of ubuntu