This article from http://loosky.net /? P = 1152
There are many Python editors. For details, see http://wiki.python.org/moin/pythoneditors. The official idle, pythonwin, and eclipse (pydev) are recommended. Idle can be obtained after the official Python software package is installed, and pythonwin can be obtained by installing activepython. Pydev is a plug-in used to expand eclipse. After installation, you can use eclipse to develop python.
1. You can find and download eclipse on eclipse.org. You can select an eclipse version that is suitable for you, such as Eclipse classic. After the download is complete, decompress the package to the directory you want to install. Of course, before executing eclipse, you must confirm that the Java Runtime Environment is installed, that is, you must install JRE or JDK, you can find the JRE download and install in (http://www.java.com/en/download/manual.jsp.
2. Install pydev and run eclipse. Select help> install new software, as shown in.
Click Add to add the installation address of pydev: http://pydev.org/updates/, as shown in.
Click "OK" and then click "+" of pydev to expand the pydev node. Wait for a short time and ask it to obtain the relevant pydev kit from the Internet, after completion, the pydev related suites will be added to the sub-nodes. Select them and click Next to install them. As shown in.
After installation, restart eclipse.
3. After installing pydev, set pydev and select Window> preferences to set pydev. Set the python path and select new from the interpreter-Python page of pydev.
A window will pop up asking you to select the python installation location and select the location where you install python.
After completing the settings, you can start using pydev.
4. Create a python project: After eclipse + pydev is installed, we can start to use it for project development. First, create a project and select File> New> pydev project.
A new window will pop up, fill in the project name and Project SAVE address, and then click Next to complete the project creation.
5. If you create a new pydev module, a project cannot be executed. Then, you must create a new pydev Moudle and select File> New> pydev module.
In the pop-up window, select the file storage location and Moudle name. Note that the name does not need to be added with. py, And it will automatically help us add. Click Finish to complete the creation.
Enter the "Hello World" code.
6. After the execution program is completed, we can start to execute the program and find the execution button on the toolbar above.
A window will pop up asking you to select the execution method. Generally, we select Python run to start executing the program.