1. Python version
Python 2.x version, called Python2: is the most widely used, such as Python 2.7.12.
Python 3.x version, called Python3: is the latest version, such as Python 3.5.2. In the long run, it is a future trend.
For beginners: Recommended with Python2, because there are too many Python programs, sample code, third-party libraries, are still more for Python 2.x, relatively good, more stable.
2. Download Python
Python's official website is: http://www.python.org/
Enter the official website, you can find the corresponding download page: http://www.python.org/download/
Python website is not very stable, you can directly click on the download address given below, basically can be normal access.
python-2.7.12 (64-bit Windows): Https://www.python.org/ftp/python/2.7.12/python-2.7.12.amd64.msi
python-2.7.12 (32-bit Windows): Https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi
Tip: If you later have the latest version, then you can directly change the corresponding number for the new version number, you can download directly.
3. Install Python
I am here is win10 64-bit system, after downloading completes, double-click Python-2.7.12.amd64.msi, Pop-up dialog box, select Default:
Install Python for Everyone
Click Next to enter:
As you can see, the default installation path is: C:\Python27, where you can modify the installation path by default.
When you click Next, the item that you want to install is configured to appear:
Here, by the way, please explain:
Register Extensions: The python installed here becomes the default installed Python. For example, if you have installed a different version before, then select this, let the python installed here is the default;
TCL/TK: Contains libraries related to the graphical environment: Tkinter and related development tools: Idle,pydoc
Document: The Python htmlhelp file, which is the Python mannual (Python manual) that was installed since the end
Utility Scripts: Some python-written scripting tools
Test suite: Python Tools for testing
After clicking Next, you will see that you are installing:
Installation Complete:
Configure the system environment variables to place the path selected in the Python path, and note the previous ";"
Type python at the cmd command line to get Python version information and install it!