Eclipse for python, eclipsepython

Source: Internet
Author: User

Eclipse for python, eclipsepython

1. Prepare files


A. Download the JDK 6 Java Development Kit

B. Download Eclipse

C. Download Python 2.x

 

2. Install JDK 6

After downloading, click "Next ".

 

3. Install eclipse

After eclipse is downloaded, decompress the package. It is generally a green version.

 

4. Install the PyDev plug-in for Eclipse

When Eclipse is enabled, the first startup will allow you to select a workspace. By default, select the check box and do not remind you.

In the Help menu, select Install New Software ···,

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

Select PyDev for Eclipse under PyDev.

Just agree to accept the consent.

After installation, restart.

 

5. Configure the PyDev plug-in

Select Preference from the Window menu,

A. PyDev-> Interpreter-python, newa pythoninterpreter, fill in the Interpreter name and character, and select the corresponding python.exe.

 

B. General-> Editors-> Text Editors-> Spelling, Encoding into Other: UTF-8

 

C. General-> Workspace, Text file encoding into Other: UTF-8


6. Test


A. File-> New-> Project: select the PyDev Project under PyDev, select the corresponding version for Grammer and Interpreter, and Finish.

B. Right-click the project in PyDev Package Explorer, choose New-> PyDev Module, and set the name to Finish.


C. write a few lines of code and Run

In the displayed dialog box, select Python Run,

OK if it can run

 

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.