Eclipse for Python

Source: Internet
Author: User

1. Preparing documents


A. Download the JDK6 Java SDK

B. Download eclipse

c. Download Python 2.x

2. Installing JDK6

After downloading, follow the instructions to the next step.

3. Install Eclipse

After eclipse download, unzip is good, generally is Green edition

4. Install the Pydev plugin for Eclipse

With eclipse enabled, the first boot will let you choose a workspace, by default, by ticking the reminder again.

From the Help menu, select Install New software,

Select the Add button, Name:pydev,location:http://pydev.org/updates (PyDev update address), OK

Select Pydev for Eclipse under Pydev and don't choose anything else

With regard to the question of acceptance, it is good to accept it.

Reboot required after installation.

5. Configuring the Pydev Plugin

Select Preference in the Window menu,

A.pydev->interpreter-python,new a Python interpreter, fill in the Interpreter name and path, and select the appropriate python.exe for the path.

B.general->editors->text editors->spelling,encoding changed into Other:utf-8

C.general->workspace,text file encoding changed to Other:utf-8


6. Testing


A.file->new->project, choose Pydev under the Pydev project,grammer and interpreter Select the appropriate version, Finish.

B. Right-click on the PyDev Package Explorer project, New->pydev Module, take a name, Finish.


C. Write a few lines of code, Run

In the dialog box that pops up, select Python Run,

OK if you can run

Eclipse for 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.