Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

In your opinion, what is the best way to create gui in Windows with python ?

Do you recommend PyQt for windows?

share|improve this question
1  
They all work. I like PyQt4. – Blender 2 days ago
1  
I like wx ... but basically what blender said – Joran Beasley 2 days ago

2 Answers

up vote 3 down vote accepted

I believe the best and most documented is probably PyQT, but it depends on what you are developing. PyGTK has a really linuxy design. PyQT has one disadvantage that when compiled it is a really large file.

Advantages of Each:

PyQt

  • Great support for signals and slots (Docs)
  • Great for model and view programming (Docs)
  • Has a great designer (QtDesigner)
  • Cross platform Support
  • Great support for both c++ and python
  • Third party plugins and development tools (e.g. PyQWT, networking, etc.) Docs

PyGTK

  • Really nice Linux design
  • Good documentation (docs)
  • Well to do design tools (Stetic, Glade)
  • Supposedly great support for internationalized text
  • Strong graphical element platform (GTK+)

wxPython

But it all comes down to the design and the development style that you prefer. I recommend you pick one and just stick with it. For windows, its probably best to use PyQt4 because of flexibility in design, code, and performance.

share|improve this answer
and about wxPython? does it have a great documentation? – Victor Lellis 2 days ago
1  
Yes, it has great documentation, docs here wxpython.org/onlinedocs.php – enginefree 2 days ago
and about PyQt5? – Victor Lellis 2 days ago
1  
PyQT5 is rather new, I do know that you need a commercial license on Qt5. But i cannot seem to find pyqt5 docs, you can try to use the qt5 docs here qt-project.org/doc/qt-5.0/qtdoc/index.html – enginefree 2 days ago

I prefer PyQt, there is some examples in the pyqt release directory, you can try it out. I think the effect is really cool. I haven't tried other library so i could not compare PyQt with others . As I am familiar with Qt, the coding experience is very easy if you switch Qt to PyQt.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.