Question

Is the combination of Python 3 and PyQt 4 recommended? Are there any alternatives?

Was it helpful?

Solution

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...).

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top