How to install Python under Windows

Source: Internet
Author: User

1, the choice of installation source program

Official website: https://www.python.org/downloads/

Select version download, according to the actual number of computers (64-bit), downloaded as:

Python-2.7.10.amd64.msi (18.48M)

After downloading the installation, select the path "D:\zero\Python27" after finish.

2. Configuration of environment variables

Open Control Panel--system--(left) advanced system settings--click on "Environment variables" in the lower right corner--administrator user variables above, select the "TMP" variable, then click on the "Path" variable below--click "Edit" button--in the Variable Value box, The cursor moves to the end, plus a ";D: \zero\python27" (remember not to add a semicolon at the end, since the variable value is separated from the value of the variable by a semicolon, but the last one does not add a semicolon!) )--Finally, OK, done.

3. How to test python under the cmd command line

Run--Enter "cmd"--enter "Python" in the black screen--the corresponding version of Python is displayed, which is the successful installation.

How to install Python under Windows

Related Article

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.