Found a very nice, small, cross-platform GUI toolkit for Python.

laplacian42 at gmail.com laplacian42 at gmail.com
Mon Feb 16 07:25:39 CET 2009


I think I just found the GUI toolkit for Python I've been searching
for. It seems to meet all of the following requirements:

  * free software
  * small (I don't need batteries -- Python already comes with those.)
  * easy to use
  * actively maintained
  * cross-platform
  * easy to install
  * based on a stable and actively-maintained C library
  * does not depend on an external scripting language (for example,
Tcl)
  * well-documented
  * not too many dependencies
  * can easily integrate with PyOpenGL
  * support for accessibility

and it's also written in Python.

I have no idea how it's stayed under the radar in the Python community
for this long, yet here it is: [OcempGUI](http://ocemp.sourceforge.net/
gui.html). The C library it depends upon? [SDL](http://
www.libsdl.org/) (via [PyGame](http://www.pygame.org/news.html)).

The sf project page is <http://sourceforge.net/projects/ocemp/>.

Installation only requires getting SDL installed, then PyGame, and
then a `sudo python setup.py install` for OcempGUI. `cd` into its `doc/
examples` directory and run a few of the examples (ex. `python
hello_world.py`).

The part of [the manual](http://ocemp.sourceforge.net/manual/ocempgui-
manual.html) that seems most like a beginner tutorial is <http://
ocemp.sourceforge.net/manual/gui_applications.html>.



More information about the Python-list mailing list