Python2 Installation Instructions

Source: Internet
Author: User
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!

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.