Pages

Sunday, 2 December 2012

Python的几种开发工具

1 IDLE
1.1 IDLE是python创初人Guido van Rossum使用python and Tkinter来创建的一个集成开发环境。要使用IDLE必须安装python and Tkinter。
1.2 特性:自动缩进,彩色编码,命令历史(Alt+p,Alt+n)和单词自动(Alt+/)完成。
1.3 用IDLE执行Tkinter程序,不要在程序中包括mainloop。IDLE本身就是Tkinter应用程序,它会自动调用mainloop。再调用一次mainloop会与IDLE的事件循环冲突,造成运行时错误。

2 BlackAdder
2.1 BlackAdder支持windows and linux环境。用它创建的程序可在任何一种平台上运行,负责维护它的是TheKompany.com。他们发布了该软件的个人版,只提供有限的支持;以及专业版,需要许可,面向商业软件开发者。详情请访问www.thekompany.com/products/blackadder。

3 PythonWorks
3.1 它由SecretLabs公司发布,该公司致力于Python项目的开发与部署提供相应的工具。PythonWorks是一种“快速应用程序开发”(RAD)工具,程序员可借助它快速地创建、调试和发布程序。
3.2 PythonWorks包括一个HTML/XML编辑器、具有完全索引的文档、一个源码管理系统(用于项目分组)、自定义的代码编辑特性以及一个GUI布局编辑器。支持jython。
3.3 允许用户以多种形式对项目进行打包:源码形式、可执行程序形式以及.pyc形式。
3.4 有版权,需购买,详情请访问www.pythonware.com/products/works/index.htm

4 Wing IDE
4.1 Wing IDE由Archaeopteryx Software公司开发与支持,适用于windows and linux环境。它提供一个源码分析器和浏览器、项目管理能力以及文本编辑器和调试器。
4.2 它由python编写,并包含python源码。购买者可自定义源码,以适应自已的要求,但是,不可将修改过的代码用于赢利目的。
4.3 全功能演示版可在archaeopteryx.com/wingide下载。

5 Pythonwin
5.1 Pythonwin集成开发环境包含在由ActiveState出品的ActivePython中,ActivePython是一个二进制build。其中包括用于XML处理的expat模块,以及一系列windows工具。
5.2 提供的特性有:彩色编码、源代码折叠、单词完成及自动缩进。调试器支持事后诊断功能、标准的单步调试、断点设计及变量监视。
5.3 详情请访问aspn.activestate.com/activepython。

6 Komodo
6.1 ActiveState还为python提供了另一个IDE,名为Komodo,可用它在windows and linux上开发程序。Komodo最大的特点是,它是Perl,PHP,Tcl,HTML,XML AND XSLT的一种集成开发环境。

7 Boa Constructor
7.1 Boa是一个跨平台的python IDE和WxPython GUI。它提供可视化的编程和操作框架,能方便地进行程序的设计。它有一个对象浏览器,并提供有各种资源的视图,有一个html文档生成器,还有一个先进 的调试器和完整的帮助系统。Boa还提供对zope的支持,能添加、删除、复制、剪切、导入和导出zope中的对象。能编辑对象属性和进行python脚 本的调试。Boa是用python基于WxPython库编写的。 用起来就象vb或delphi一样方便。
7.2 下载地址是:http://boa-constructor.sourceforge.net/,要安装Boa要先安装合适版本的python和WxPython。

在windows平台我就是用pythonwin,感觉还不错,和idle差不多,在windows平台的可考虑用它。
Python 集成開發環境

Take a look at PythonEditors if you don't want IntegratedDevelopmentEnvironments.
(!)Please keep wiki links as wiki links, use external links only if there is no existing page for the IDE.
Name
Platform
Notes
Unix + GNOME
Cross-language IDE; syntax coloring & folding for Python.
Windows, Linux x86
Commercial IDE for Python, support Webware and Python Unit. (not yet available for sale)
Windows/Linux
Commercial with all the features of IDLE, support for Ruby, and Qt GUI editor.
Python + wxPython
RAD GUI building IDE, similar to Delphi.
Linux x86
Commercial IDE with support to 30 other languages.
Unix
Commercial cross-language IDE; nice multi-user project manager.
Python + wxPython
Simple, clean editing environment for Python intended primarily for use in schools.
Java + SWT
See EclipsePythonIntegration for Python support.
Python + PyQt + QScintilla
Popular python IDE with interfaces to Qt Designer, Qt Linguist, unittest.
PyGTK
A GUI designer for (Py)GTK, similar to Glade.
Python + Tkinter + Tix
An extended version of IDLE using Tix.
Python + Tkinter
Part of Python distribution.
Python + Tkinter
An experimental fork of IDLE. Since, Python 2.3, IDLEfork has become the new "main" Idle.
Java 1.4+ VM
Popular multi-language IDE.
Unix + KDE
Cross-language IDE for KDE - supports Python syntax/projects.
Windows/Linux
Commercial multi-language and cross-platform IDE. Includes a GUI Builder.
Java
A Java IDE with an optional plugin for Jython.
Any (with Python + GTK)
Python IDE (code browser, debugger, profiler) which uses Vim as its editor.
Windows
A nice alternate Python IDE for Windows (debugger included), also ...providing a strong scripting solution for Delphi Applications.
Python + wxPython
RAD GUI building IDE
Windows
Available either as part of ActiveState's ActivePython distribution (which is not open source) or as part of the Win32All extensions from Mark's pages (which is open source).
Windows/Linux
(no longer being developed) SecretLabs' commercial IDE. Includes Tk layout editor.
Unix/Windows with Tcl/Tk
Cross-language IDE & Source code analysis tool.
[WWW]SPE
Windows, Linux, MacOsX, FreeBSD, etc.
SPE is an open-source, multi-platform python IDE with [WWW]wxPython interface. It has auto indentation & completion, call tips, syntax coloring & highlighting, uml viewer, class explorer, source index, auto todo list, sticky notes, pycrust shell, file browsers, drag&drop, context help, [WWW]Blender support, ... Spe ships with [WWW]rpdb2 (remote encrypted debugger), [WWW]wxGlade (gui designer), [WWW]PyChecker (source code doctor) and [WWW]Kiki (regex console). Note: SPE has a Windows install binary, all other platforms must work with the source code - although donations are currently being amassed to create an OS X version.
Linux/Windows/Mac
Python and PHP IDE - open source project and a foundation for development tools for scripting languages built on top of Eclipse Platform
Linux/Windows/Mac
Advanced Python and PHP IDE - built on top of TruStudio Foundation and introducing many exceptional features
Windows 2000/XP with Visual Studio.NET
(commercial) A Python plug-in for Visual Studio.NET (requires ActivePython or Win32all)
Windows
GUI designer for wxPython.
Windows/Linux/Mac OS X/Unix
Commercial Python IDE with networked debugger, source browser, and syntax coloring/auto-completing editor. Free license for non-commercial open-source developers with an established project.
Unix/Windows/Mac
Non-free Cross-language GUI dialog designer with integrated support for editing your Python callback functions.
Unix/Windows/Mac
A "designer" for WxPython (requires wxPython)
External collections:
· [WWW]Charming Python: Review of Python IDEs (David Mertz, 2003-12-11)
· [WWW]Charming Python: A review of Python IDEs (David Mertz, 2001-05-01)
· [WWW]A New Harvest of Python IDEs (Boudewijn Rempt, 2000-11-27)