Python Mac-based GUI Libraries

I am currently building a GUI-based Python application on my Mac and wondering if anyone can suggest a good graphical library to use?

I watched the python gui programming faq , and there were many options, which made it hard to choose.

I am developing on a snow leopard, and cross-platform is not significant (if that matters).

+3
source share
3 answers

If you're not interested in cross-platform compatibility, PyObjC (also see Apple's PyObjC information ) provides a direct bridge to Cocoa OS X interfaces.

PyObjC (pronounced pie-obz-see) is a key element that allows you to write Cocoa applications in Python. It allows Python objects to pass Objective-C messages to objects as if they were similar Python objects, and it also makes it easier for Objective-C objects to communicate Python objects as siblings.

Please note that Apple tends to support and then does not support these non-native interfaces until Cocoa; this is a good sign that there are recent releases of PyObjC.

+5
source

wxPython Qt ( PyQT PySide) OS X .

+5

There is currently a relatively new project, now called PyGUI , whose goal is to provide a more modern cross-platform GUI for Python applications. In OS X, it uses PyObjCto create custom GUI elements. Perhaps it would be easier to start using it, and not just delve into PyObjC and Interface Builder .

+3
source

Source: https://habr.com/ru/post/1724889/


All Articles