Python entry ----- Windows installation, python ----- windows
Abstract: Python, windows Installation
1. Go to the python official website download: https://www.python.org
Click Download and select windows:
2. After the download is complete, click "run" and click "Next" until "Finish ".
3. After the installation is complete, start the command prompt (shortcut: WIN + R, input: cmd) in the Start Menu> program> attachment)
The prompt is: python is not an internal or external command ....
Cause: when running python in Windows, you will find the python. EXE running program in the pathenvironment variable. This error will be reported if it cannot be found.
Solution: Add python to the Path environment variable.
Computer ---> properties ---> advanced ---> environment variable ----> Path ----> Edit
Add the installation path of python to the end. Add a semicolon to separate the installation paths, for example:; C: \ Python27,Click "OK"
Open cmd again and enterPythonTo display the installed python version;
InputExit ()Exit.
4. This is the python command writing interface. Enter a number to obtain the result, for example:
Now, python is installed in windows.