A good integrated development environment, can greatly improve the efficiency of programming. So, I need to find a good python development tool first.
Eclipse +pydev, it feels good. I put the key points of the installation process in detail in this article, so that you and the reader to reinstall later, do not find the north.
Eclipse is a free Java IDE, I installed eclipse-sdk-3.2.1-win32.zip,123m
Download Address: http://www.eclipse.org/downloads/download.php
After decompression, even if the installation is complete, is a green software. Running Eclipse.exe, compared to my most commonly used Delphi, the 1th impression Eclipse is gorgeous, more beautiful than the 3.1 version. Perhaps another Java development tool, NetBeans can also develop Python, the interface style is more delicate than eclipse, but I did not find the relevant information, choose Eclipse.
To develop Python in eclipse, you also need to install a plugin: PyDev,
Download Address: http://sourceforge.net/projects/pydev/
Org.python.pydev.feature-1_2_4.zip software is not big, 3.2M
In Delphi, the installation of components, typically in the component menu, does not have this menu in eclipse. With the VC and Delphi experience, adjust the environment settings, typically in the Project menu, Eclipse has the Project menu, but there is no corresponding submenu.
See Pydev's profile, originally in Eclipse's Help menu, Eclipse/Help/software updates/find and install ...
Select Search for new features to install
Select New Local Site, and Enter the directory on the local hard drive after the Pydev.zip is decompressed.
Then, you need to set the location of the Python interpreter, and tell Eclipse,python.exe under which directory.
Select Window/preferences , find Pydev/interpreter-python in the list on the left , and enter in the Python interpreters on the right Your python.exe, my installation is C:\python25\python.exe
This completes the Python IDE installation. Give it a try.
Create a new Pydev Project, enter a Hello World, single-step trial run, see the effect.
The breakpoint setting is a green ball, not the same as the DELPHI,VC red ball.
You need to double-click to set breakpoints, and DELPHI,VC to set breakpoints differently.
Richard Tao
Reference:
Python Development with Eclipse and ANT
Http://www-128.ibm.com/developerworks/cn/opensource/os-ecant/index.html
Oh. I generally do not use the debugger, are used print+log+ eyes. If you are interested, you can also try the editor Ulipad I developed. You can download it from Http://wiki.woodpecker.org.cn/moin/UliPad and need to install Wxpython. It is a pure Python-written software.