开发者

Python 3 and PyQt 4 recommendations

Is the combination of Python 3 and PyQt 4 recommended? Are th开发者_运维知识库ere any alternatives?


I don't see why not, there is a version available for Python 3 which works normally, and the only alternative if you really need Qt would be PySide, which is far from being compatible with Python 3.

Other GUI alternatives would be wxPython (not in Python 3 yet AFAIK) and the "native" Tkinter (which is something else...).


If PyQt4 is the only non-native module you need, there should be no problem. Check if all modules you need are available for Py3k! PyQt4 for Py3k is not yet integrated into all distributions. I.e. on Debian PyQt4 only works with Python 2 currently.

Have a look at 3to2! A tool to convert Py3 to Py2 code. That is just better than coding in Py2 and using 2to3.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜