There are other GUI development systems that can be used with Python. We present the appropriate modules along with their corresponding window systems in Table 19.2.
Table 19.2. GUI Systems Available for Python
GUI Module or System | Description |
---|
Tk-Related Modules |
Tkinter | TK INTERface: Python's default GUI toolkit http://wiki.python.org/moin/TkInter |
Pmw | Python MegaWidgets (Tkinter extension) http://pmw.sf.net |
Tix | Tk Interface eXtension (Tk extension) http://tix.sf.net |
TkZinc (Zinc) | Extended Tk canvas type (Tk extension) http://www.tkzinc.org |
EasyGUI (easygui) | Very simple non-event-driven GUIs (Tkinter extension) http://ferg.org/easygui |
TIDE + (IDE Studio) | Tix Integrated Development Environment (including IDE Studio, a Tix-enhanced version of the standard IDLE IDE) http://starship.python.net/crew/mike |
wxWidgets-Related Modules |
wxPython | Python binding to wxWidgets, a cross-platform GUI framework (formerly known as wxWindows)http://wxpython.org |
Boa Constructor | Python IDE and wxPython GUI builder http://boa-constructor.sf.net |
PythonCard | wxPython-based desktop application GUI construction kit (inspired by HyperCard) http://pythoncard.sf.net |
wxGlade | another wxPython GUI designer (inspired by Glade, the GTK+/GNOME GUI builder) http://wxglade.sf.net |
GTK+/GNOME-Related Modules |
PyGTK | Python wrapper for the GIMP Toolkit (GTK+) library http://pygtk.org |
GNOME-Python | Python binding to GNOME desktop and development libraries http://gnome.org/start/unstable/bindings http://download.gnome.org/sources/gnome-python |
Glade | a GUI builder for GTK+ and GNOME http://glade.gnome.org |
PyGUI(GUI) | cross-platform "Pythonic" GUI API (built on Cocoa [MacOS X] and GTK+ [POSIX/X11 and Win32]) http://www.cosc.canterbury.ac.nz/~greg/python_gui |
Qt/KDE-Related Modules |
PyQt | Python binding for the Qt GUI/XML/SQL C++ toolkit from Trolltech (partially open source [dual-license]) http://riverbankcomputing.co.uk/pyqt |
PyKDE | Python binding for the KDE desktop environment http://riverbankcomputing.co.uk/pykde |
eric | Python IDE written in PyQt using QScintilla editor widget http://die-offenbachs.de/detlev/eric3 http://ericide.python-hosting.com/ |
PyQtGPL | Qt (Win32 Cygwin port), Sip, QScintilla, PyQt bundle http://pythonqt.vanrietpaap.nl |
Other Open Source GUI Toolkits |
FXPy | Python binding to FOX toolkit (http://fox-toolkit.org) http://fxpy.sf.net |
pyFLTK (fltk) | Python binding to FLTK toolkit (http://fltk.org) http://pyfltk.sf.net |
PyOpenGL (OpenGL) | Python binding to OpenGL (http://opengl.org) http://pyopengl.sf.net |
Commercial |
win32ui | Microsoft MFC (via Python for Windows Extensions) http://starship.python.net/crew/mhammond/win32 |
swing | Sun Microsystems Java/Swing (via Jython) http://jython.org |
You can find out more about all GUIs related to Python from the general GUI Programming page on the Python wiki at http://wiki.python.org/moin/GuiProgramming.