Python Development Environment Building

Source: Internet
Author: User

1, download Python, the default installation can:

2. Add C:\Python27 (default installation directory) to the PATH environment variable:

3, CMD test whether the installation success:

4, desktop new TXT document, modify the suffix named py, right click Select "Edit Whit IDLE", write a Hello world with your own lightweight IDE. Below is a review of how the following CMD goes into a directory:

CMD executes the command "Python ***.py" below and executes the program successfully.

5, experience the next python from the idle, directly open idle, is actually a python shell, it seems very powerful:

--------------------------------This, Python installation is complete and simple--------------------------------------

6. Configure the Python development environment under the Eclipse IDE:

Menu Help below choose Install new software, click the Add button, add the following: Name item, enter it casually. Location Input: http://pydev.org/updates

7. After rebooting, configure eclipse:

8, a new Python project, under the project to create a new folder, named Src, to save the source code. In the SRC right-click to create a new file named test.py:

9, to a HelloWorld code, click to run the program can:

# -*-Coding:utf8-*- Import platform; Print "Hello woeld! ", Platform.uname ();

Python Development Environment Building

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.