Eclipse and Pydev build the perfect Python development environment (Windows chapter)

Source: Internet
Author: User

http://blog.163.com/jackie_howe/blog/static/199491347201282272155373/

1. Preparatory work:

Download the 32-bit JDK6 Java development Package I don't want to do this, but eclipse relies on him, no way.

Download the 32-bit eclipse

Download Python 2.x


2. Configuring the Java Environment

Java Environment Building

3. Install Eclipse and Python
Eclipse is green software, find a place to unzip it OK
Not to mention the Python installation.

4. Install the Pydev plugin for Eclipse
Enable Eclipse ———— If the previous steps are correct, then eclipse should be able to start normally.
The first launch will allow you to select a workspace, press the default settings, tick the no reminder again.

From the Help menu, select Install New software,
Choose the Add button, Name:pydev (this random), Location:http://pydev.org/updates (PyDev update address), OK

Choose Pydev under Pydev for Eclipse, do not choose anything else, or rely on check that off. (Note 1) Click Next, the next installation will ask you whether you trust Aptana, Pydev or whatever, trust will be able to finally restart Eclipse

5. Configuring the Pydev Plugin
Select Preference in the Window menu,

1, pydev->interpreter-python,new a Python interpreter, fill in the Interpreter name and path, the path to select the corresponding Python.exe.

Python 3.x is required in the following steps, Python 2 is optional. I'm more used to Unicode, so I set it here once.


2, General->editors->text editors->spelling,encoding changed into Other:utf-8


3, General->workspace,text file encoding changed to Other:utf-8

6. Under test

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

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

Then write a few lines of code, Run

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

Ok

Comment: note 1:pydev Mylyn integration (optional): This depends on PyDev for Eclipse, you have to install the latter.
PyDev Django Templates Editor: This requires Aptana Studio 3.

Eclipse and Pydev build the perfect Python development environment (Windows chapter)

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.