PyDev for Eclipse plugin download address

Source: Internet
Author: User

PyDev for Eclipse Plugin
http://sourceforge.net/projects/pydev/files/pydev/
Python interpreter and Python class library
http://www.python.org/ftp/python/

Python is a very versatile and easy-to-use language, and we can use it to develop tools, or to develop portal-style Web sites, and Python's syntax is concise and clear, with a rich and powerful class library. But to use MyEclipse to write Python, you need to install a small plug-in Pydev, because the online installation is relatively easy to fail, we described below how to install manually.
The first step is to install the JDK, myeclipse, and Python interpreter, which is no longer described here.
First, install Pydev:
1. Download python for Eclipse (ie Pydev)
: http://download.csdn.net/detail/u011446864/8356891
2, decompression Pydev plug-in, there are features, plugins two folders, and then the features folder files moved to the D:myeclipse/eclipse/features directory (your myeclipse installation directory), Move the files under the Plugins folder to the Myeclipse/eclipse/plugins directory under your myeclipse installation directory.
3, restart MyEclipse, windows->preferences appears pydev configuration items, indicating that the Pydev plug-in installation is successful. Such as


Second, the configuration Pydev:
After the Pydev is installed, you need to configure the interpreter. In the Eclipse menu bar, choose Window > Preferences > Pydev > Interpreter–python to configure Python here. You first need to add an already installed interpreter. If you do not download and install Python, please download the 2.x or 3.x version on the official website: http://www.python.org/.

Here, for example, the python2.x version of my Python interpreter is installed under the c:/python27 path. Click New to enter the dialog box. Interpreter name can be arbitrarily named, interpreter executable Select the Python interpreter Python.exe.

Click OK to jump out of a window with a lot of checkboxes, select the option you want to add to the system Pythonpath, and click OK.

Then in the Python Interpreters window, click OK again, which completes the configuration of the Python interpreter.
By this Pydev the configuration has been completed and you can use eclipse to start writing python.
Third, write Python
In the MyEclipse menu bar, select File > New > Other>pydev > Project ..., select Pydev Project in the window, select Pydev project.

Click Next, enter the project name, select the appropriate project type, and the Python syntax version and Python interpreter you are using.

Once created, right-click on our new project and New->pydev package to create a new one. Automatically generate a __init__.py file, which is an empty file.

Right click on the package we just created Firstpython, select New->pydev module, create a new Python module, click Finish.

For our first. py file name, here I named the same as the package name, also for Firstpython

Click Finish to write a Python program of your own.

PyDev for Eclipse Plugin

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.