python gui编程for mac_Python GUI framework for Mac OS X

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):

问题:

I'm trying to find a good "python GUI framework" for Mac OS X, but I haven't found anything good until now, only wxWidgets which I don't like and it's also unstable.

Any suggestions?

回答1:

I use pyqt (pyside should be equivalent but with more relaxed license terms) and I find it pleasing and useful -- I also like the fact that (with no extra effort on my part) it gives me cross-platform apps!-)

pyobjc (comes w/your Mac, works w/Xcode, etc) may be preferable for apps you never want to be cross-platform, but I find it less easily usable than PyQt. However if you're very skilled in Objective C, Cocoa etc, I imagine pyobjc will feel perfectly natural and usable to you!-).

回答2:

For the most MacOSX you could use PyObjc which basically allows you to write Cocoa apps i python using Interface Builder etc.

你可能感兴趣的:(python,gui编程for,mac)