1
https://www.python.org/downloads/
2. Installation
Default installation path: C:\python27
Installation path and download path is not the same thing, it is important, if necessary, to remember or copy
3. Configure Environment variables
Right-click Computer--Properties--Advanced system settings--advanced--environment variables--Find the variable path in the second content box, which is required to match the installation path--if it is not found, modify the content in path to match the installation path. Such as:
C:\python27
After downloading Python, if the installation package does not have an environment configuration, you will not be prompted after the download, you can use win+r--cmd--input python, to test whether the environment is configured, if the error shows that there is no configuration environment, if the Python version is displayed, it is available.
Here's how:
Download:
Method One:
Method Two:
Put the mouse on the downloads first, then take the second step, notice that it is placed on the first step instead of clicking.
Note the name, look is not appropriate, note the following download path, easy to find after downloading, because Python belongs to the background to run the software, will not create shortcuts on the desktop.
Installation:
Following the installation, it is important to remember that the installation path must be remembered! You must remember the installation path! You must remember the installation path! The important thing to say three times, then all the way next or finish.
After installation, you should test the environment to see if the environment is configured with the installation package, and if not, enter the steps to configure the environment.
Configure the Environment:
The rest is very simple, find the following interface
Note that the contents of path, it must be the installation path, is the installation path, not the download path, if the following is not, then double-click the path of the line, open the Editing Environment dialog box, click on the right side of the edit, you can delete or input, delete everything, and then enter the installation path, point right below the OK.
As a final step, win+r--cmd ——-enter Python, and if Python's version information appears after the run, it's done.
Little White learn python first week