Use Python yesterday and don't want to install the IDE alone. Remember that eclipse can be configured as Python. Surf the internet to find a bit, there is a good.
The original site is as follows:
http://www.qrong.com/archives/513
Writing Python using eclipse
by kumuking on 2011/08/06 • LEAVE A Comment In all , PYTHON, programming
My first programming language for practical use was Java, so I had a unique feeling for eclipse. But since the notepad++, the chances of using eclipse are getting smaller.
Recently began to learn Python, because it is not familiar with Python, there is time to be able to code automatic completion, automatic error correction and so on. So I looked for the IDE for python, download Python can choose their own Python IDLE, but not very accustomed to use, so wondering if you can use eclipse.
Go to the official website to find a bit, found that there is pydev this excellent plug-in can be used.
Pydev Introduction:
On July 16, 2003, the three-person development team, led by Fabio Zadrozny, registered a new project on the world's largest open source software development platform and warehouse SourceForge, which implemented a powerful eclipse plugin that allows users to take full advantage Eclipse for the development and debugging of Python applications. The project that can use eclipse as a Python IDE is PyDev.
The advent of the PyDev plugin makes it easy for many Python developers to provide some good features such as syntax error hints, source code editing assistants, Quick Outline, Globals Browser, Hierarchy View, run and debug, and more. Based on the Eclipse platform, which has many powerful features and is also very easy to use, PyDev's features make it more and more popular.
Today, the project is continuing to promote the new release version, the latest version is released on July 13, 2011, 2.2.1. The installation configuration method for PyDev is described next.
Install Pydev:
First you need to go to eclipse official website download: Http://www.eclipse.org/,Eclipse requires JDK support, if Eclipse does not work properly, download the JDK installation on the Java website: http://www.oracle.com/ Technetwork/java/javase/downloads.
Open Eclipse, find the Help menu bar, go to install New software ... Options.
Click Work with: next to the input box click Add...,name can be anything, I entered the pydev,location is http://pydev.org/updates. Click OK.
Wait a moment and you'll see the options in the selection bar.
Select Pydev, then all the way next, go to the installation path selection interface, use the default settings, and then Finish. Eclipse will download PyDev and you can see the progress of the download from the Eclipse taskbar. After the Pydev is installed, you need to restart eclipse.
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/.
I am using the python3.x version and Python is installed under the D:\Python32 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.
Hola World:
In the Eclipse menu bar, choose File > New > Pydev > Project ..., select Pydev Project in the window, there are three kinds of projects you can create, 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, go to perspective, right click the src icon, select New->pydev Package and create a new one. The __init__.py file is automatically generated, and the file contains no content. Right-click the created package, select New->pydev module, create a new Python module, click Finish.
So we can start creating the first. py file.
How to install and configure Pydev to use Eclipse to write Python's beginner tutorial End ~
Eclipse Configuration Python IDE