Table of contents:
Examples provided in the examples/ root directory are actively maintained:
- gtk2.py: example for PyGTK library (GTK 2)
- gtk3.py: example for [PyGObject/PyGI] (https://wiki.gnome.org/Projects/PyGObject) library (GTK 3). Currently broken on Linux/Mac, see top comments in sources.
- hello_world.py: doesn't require any third party GUI framework
- qt4.py: example for PyQt4 and PySide libraries (Qt 4)
- tkinter_.py: example for [Tkinter] (https://wiki.python.org/moin/TkInter). Currently broken on Mac.
- wxpython.py: example for wxPython
If there are any issues in examples read top comments in sources to see whether this is a known issue with available workarounds.
There are even more examples available, some of them are externally maintained.
- Kivy framework: see Kivy wiki page.
- Panda3D game engine: see Panda3D wiki page.
- PyGame/PyOpenGL: see gist by AnishN
- Screenshot example: see gist by stefanbacon
- Old PyWin32 example: see pywin32.py in the cefpython31 branch
There are ongoing efforts to add these examples to the official examples/ directory, see issues in the tracker.