Installation of python2.7.14 version under Windows

Source: Internet
Author: User

This article is mainly about how to install Python under window illustration

Step one, download the appropriate version from the official website (this article takes 2.7.14 as an example), https://www.python.org/downloads/release/python-2714/

Step two, after the download is complete, follow the normal window of the software directly on a step-by-step installation can be

Step three, after the installation is complete, configure the environment variables

How to: Right-click My Computer/This computer--properties--Advanced system settings--Advanced tab (default)--Environment variables---------

Add the installed Python location to the system environment variable:

Step four, verify.

Open the computer's run input cmd, open the DOS operator interface, enter Python, if you display instructions for your Python installation success

Enter PYTHON-V to display the current Python version

Next we will learn the first program: Hello world!

In a DOS environment, enter python to switch to Python's IDE mode and enter print "Hello world! ", such as:

Isn't it simple! Of course, if you want to learn it is also very simple!!!

Note: Python3 the above version and the Python2 version have been modified in syntax and need to be enclosed in parentheses in the input command, as follows

Print ("Hello World!") This will correctly enter the Hello world! This will be left to you to try!

The following articles are available for installing multiple Python versions under Windows:

Http://www.cnblogs.com/beginner-boy/p/7248399.html

Installation of python2.7.14 version under Windows

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.