Hello to all! I want to write a small application for managing the portal in python, but in such a way that it does NOT work in the browser, i.e., I need a desktop application. In general, I have almost no experience with developing GUI applications in python (A few months ago I wrote a small application in conjunction with GTK, creating an icon in the tray, and performing certain actions on a timer, but something didn’t give me GTK).

Earlier on C #, delphi. I chose python because I need cross-platform, and I just like the language very much.

I would like to hear the opinions of people who worked with several UI toolkit, and who can compare one toolkit with another.

thank.

5 answers 5

I here is a plus for Qt. Only PyQt cannot be used in commercial projects. But you can use PySide . Fully compatible with PyQt.

He himself suffered for a long time. For some strange reason, despite the million words of praise in the direction of Qt, for some reason I didn’t like this framework a priori.

I suppose this is due to the fact that in C ++ the preprocessor must first work. It seemed to me "unclean" C ++ :)

Once I started using PyQt (and PySide), it all went away. Python syntax is as good as possible for Qt ideas.

Excellent documentation, excellent framework architecture, someone even says that it works faster than wxPython.

And here you have a whole document that is devoted to the comparison of frameworks: PyGTK, PyQT, Tkinter and wxPython

    My vote for wxwidgets Looks native on all platforms, cross platform. wxPython is.

      I write on wxPython. In general, quite good, and examples of mass on the Internet: Getting Started and zetcode for example. The only thing, when sometimes you come across some subtlety, problems arise. For example, I wanted to use an accelerator for SpinButton, i.e. with the up button held down for a long time, the SpinButton value would increase faster. "Out of the box" is not, well, etc. And so generally implement average GUI is good.

        PyQT - I love for centuries from the first lines. I advise. However, it requires the installation of either the framework, but Tkinter will work out of the box.

        • tkinter out of the box does not work. To him, the dll should be installed (at least on linux). Moreover, it is a curve and is known only in python - Andrio Skur

        PyQt is a very good thing and very powerful, practically one-for-one ported to the python, it allows you to build beautiful and functional GUIs, plus Qt itself is very good with all its libraries. Well, or you can take Tkinter from the standard library, simple as a penny, and you do not need to install anything extra.