Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac Based Python GUI Libraries

I am currently building a GUI based Python application on my mac and was wondering could anyone suggest a good GUI library to use?

I was looking at python's gui programming faq and there was a lot of options making it hard to choose.

I am developing on snow leopard and cross-platform is not essential (if it makes a difference).

like image 249
Gordon Avatar asked Dec 14 '22 01:12

Gordon


2 Answers

If you're not concerned about cross-platform compatibility, then PyObjC (also see Apple's info about PyObjC) provides a direct bridge to the native OS X Cocoa interfaces.

PyObjC (pronounced pie-obz-see) is the key piece which makes it possible to write Cocoa applications in Python. It enables Python objects to message Objective-C objects as if they're fellow Python objects, and likewise facilitates Objective-C objects to message Python objects as brethren.

Note that Apple tends to support and then not support these non-native interfaces to Cocoa; it's a good sign that there are recent releases of PyObjC.

like image 142
Greg Hewgill Avatar answered Jan 03 '23 03:01

Greg Hewgill


wxPython and Qt (via PyQT or PySide) provide native OS X widgets and work across all major platforms.

like image 32
John Paulett Avatar answered Jan 03 '23 02:01

John Paulett