This article focuses on the configuration of the Python development environment, so the installation of Eclipse is not described (Here we assume that you have installed Eclipse and can use it to develop Java programs)
Python is installed on Ubuntu 12.04 by default. You can find the Python folder under the/usr/lib/directory (three Python2.7, Python3, Python3.2 on my computer)
Recommended reading:
Python development technology details. (Zhou Wei, Zong Jie). [hd PDF scan version + book guide video + code]
Obtain Linux information using a Python script
Build a desktop algorithm transaction research environment using Python in Ubuntu
Open Eclipse, help ---> Insatll New SoftWare... dialog box
Click add.
In Name: Enter the Name [random]
In Location: Enter http://pydev.org/updates
Click OK
Select
Then you can accept the installation protocol and click OK.
After installation, the system will prompt you to restart.
Restart Eclipse, Window ---> Preferences
PyDev --> Interpreters ---> Python Interpreter
Click Quick Auto-Config to see the following:
Click OK. Now, python is integrated in eclipse, and you can compile the python project.