Win7 Install the Python development environment and run Python

Source: Internet
Author: User
Tags python script

It is very simple to install the Python development environment on Win7.

STEP1: Download python installation files

Url:https://www.python.org/download

Go here and find the file you want to download

STEP2: Installation

Windows is of course a fool-like installation, what are you still struggling with?

STEP3: Configuring Environment variables

My Computer--advanced settings, environment variable->path, python installation path

Okay, OK.

Go to command line window+r input python shown below

C:\users\yixian>python
Python 2.7 (r27:82525, Jul 4, 07:43:08) [MSC v.1500-bit (AMD64)] on Win32
Type "Help", "copyright", "credits" or "license" for more information.
>>>

Now let's test it.

print "Hello world!"

It's easy to run a python that's already written.

Also enter the command to travel to the directory where you put the Python script

Enter Python ex1.py

It's done.

Win7 Install the Python development environment and run Python

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.