Building a Python environment under the Windows system

Source: Internet
Author: User

Building a Python environment under the Windows system

1, first visit http://www.python.org/download/ to download the latest version of Python.

2, install the download package: Python-3.6.4-embed-amd64.zip (free installation, direct decompression).

3, add the installation directory for the computer to the environment variables, add the Python installation directory to the PTH system variable.

4. Test if the Python installation is successful, cmd open command line Input Python command, such as success:

5. Hello world! According to a lot of information, enter print (' Hello world ')

6, after the above test, Python environment is installed, but how to develop it, do you use this command line? There are also ides to apply, please download Aptana Studio IDE tool, this tool is based on the Eclipse add plugin set, support python development. Download the installation to Http://aptana.com/products/studio3/download , and then run

Or you can install Eclipse and search your own Pydev plugin installation.

7, OK, before you start, you should also configure the environment variables for this IDE.

Open the window, preferences (window->preferences ...) dialog box, select "PyDev", "Interpreter Python" from the tree list on the right, click the New button, Select Python.exe from the Python installation path and a dialog will pop up to let you tick system PYTHONPATH, click OK, and you're done.

8. Create a new project

Note that because the Python installed is version 3.2, the syntax version here is selected 3.0 (default 2.6)

Successful project establishment;

9. Create a new Python file in the directory and output Hello world!

Enter the code:

Start running:

The results will then appear in the console panel below:

Building a Python environment under the Windows system

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.