Differences between revisions 107 and 108
Revision 107 as of 2007-07-17 12:10:53
Size: 8654
Editor: PaulBoddie
Comment:
Revision 108 as of 2007-08-02 12:38:39
Size: 8785
Editor: smtp2
Comment: Linked ShowMeDo wxPython series to the wxPython link
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
  || WxPython || WxWidgets || supports Windows/Unix/Mac for now - visit http://www.wxwidgets.org ||   || WxPython || WxWidgets || supports Windows/Unix/Mac for now - visit http://www.wxwidgets.org, [http://showmedo.com/videos/series?name=PythonWxPythonBeginnersSeries Five videos] at ShowMeDo on writing a graphical application ||

GUI Programming in Python

Python has a huge number of GUI frameworks (or toolkits) available for it, from Tkinter (traditionally bundled with Python, using Tk) to a number of other cross-platform solutions, as well as bindings to platform-specific (also known as "native") technologies.

Cross-platform Frameworks

The major cross-platform technologies upon which Python frameworks are based include Gtk, Qt, Tk and wxWidgets, although many other technologies provide actively maintained Python bindings.

Platform-specific Frameworks

  • Package

    Target

    Notes

    BeThon

    BeOS

    MacPython

    MacOS

    Supports both OSX and OS9

    [http://pyobjc.sourceforge.net/ PyObjC]

    MacOSX

    Supports Cocoa Aqua GUIs on the Mac

    ["venster"]

    Windows

    [http://venster.sf.net Venster] is a highly native Windows GUI toolkit for Python based on the ctypes ffi library. The aim of Venster is to be a very lightweight wrapper around the standard Win32 API, making it easy to write slick windows applications in pure Python.

    Win32All

    Windows

    Also known by the names of its components: PythonWin (for the UI), Win32Com (for COM/ActiveX), Win32 (for some other parts of the API)

Anyone for a GuiProgrammingShootout?

GUI Design Tools and IDEs

CameronLaird's personal notes on Python GUIs [http://phaseit.net/claird/comp.lang.python/python_GUI.html] includes over 25 links to toolkits and techniques for connecting python with a GUI.

Other places to look are PythonGuis at Thinki, and http://sensei.co.il/python/ui.html .

Opendocs previously had some material on Qt programming with Python for on-line reading, but ownership of the domain appears to have lapsed. An online version of Boudewijn Rempt's book about PyQt for Qt 3, [http://www.commandprompt.com/community/pyqt/ GUI Programming with Python: QT Edition], is still available.

http://www.awaretek.com/toolkits.html - Choose Your GUI Toolkit: Find Your GUI Toolkit for Python based on your preferences. Quick cgi application which helps you make a choice. See also [http://awaretek.com/plf.html Python City].

http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments#Python - Wikipedia article describing several IDE's and GUI Builders.

Editorial Notes

The above lists should be arranged in ascending alphabetical order - please respect this when adding new frameworks or tools.

Currently, this section is rather incomplete. Don't be too disappointed if you can't find the information you need, but please add any information you can contribute. It might be useful to have information about the GUIs and development tools in a fixed format to make them more easily comparable (see WebProgrammingTemplate and WebProgrammingTemplateHelp). Some categories: directly supported widgets, add-on widgets, layout managers, etc. Maybe it could answer the questions in ChoosingGuiToolkits for each toolkit.

GuiProgramming (last edited 2024-02-25 07:39:56 by krakengore)

Unable to edit the page? See the FrontPage for instructions.