ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH

Reference
ActivePython 2.5
Python Documentation
Macintosh Module Reference
1. Using Python on a Macintosh
1.1 Getting and Installing MacPython
1.2 The IDE
1.3 Installing Additional Python Packages
1.4 GUI Programming on the Mac
1.5 Distributing Python Applications on the Mac
1.6 Application Scripting
1.7 Other Resources

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Macintosh Module Reference >> 1. Using Python on a Macintosh
ActivePython 2.5 documentation

1.4 GUI Programming on the Mac

There are several options for building GUI applications on the Mac with Python.

PyObjC is a Python binding to Apple's Objective-C/Cocoa framework, which is the foundation of most modern Mac development. Information on PyObjC is available from http://pybojc.sourceforge.net.

The standard Python GUI toolkit is Tkinter, based on the cross-platform Tk toolkit (http://www.tcl.tk). An Aqua-native version of Tk is bundled with OS X by Apple, and the latest version can be downloaded and installed from http://www.activestate.com; it can also be built from source.

wxPython is another popular cross-platform GUI toolkit that runs natively on Mac OS X. Packages and documentation are available from http://www.wxpython.org.

PyQt is another popular cross-platform GUI toolkit that runs natively on Mac OS X. More information can be found at http://www.riverbankcomputing.co.uk/pyqt/.

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved