This article documents how to build python on win7 environment.
ready
Win7 system is equipped with a PC one (due win7 system I use, so the subsequent experiments were done on this win7 system)
Steps
First, the software download
Open your browser and enter the URL: https://www.python.org/downloads/ ;
Enter the page as shown below, click on the red box as shown in the Download Python 3.8.0 orange button to download the latest python software;
Second, software installation
After the download is complete, as shown below, double-click the python-3.8.0.exe file, enter the installation wizard;
Check Add python 3.8 to PATH check box, and select Customize installation installation, the installation wizard to change the python path, the default configuration to the next has been selected;
After installation is complete, as shown in FIG.
Third, verify whether the installation was successful python environment?
Press Win + r key, the Start menu bar, input cmd, as shown below:
In the command input window Python , the transport, the following screen appears, and if the configuration is successful, then the output print ( 'a') to print the character 'a'.
After the python build a good environment to start learning.
Knowledge small extension
During the installation process, bloggers in order to intercept relatively clean images, you want to clear out the command other major commands, of course, the most stupid way is to re-open a new window, but good trouble ah, then you simply introduce how to achieve the original window, clear screen function.
Clear screen command CMD command window: CLS , as shown below:
Windows command line, enter the python, two methods can be used to clear the screen below
The first
import os
os.system("cls")
The second
import subprocess
subprocess.call("cls",shell=True)