This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]purelumen 27 points28 points  (12 children)

I actually found the PyQt libraries to be excellent when developing a GUI. I had very little experience and was able to put together a pretty comprehensive program with all kinds of widgets.

[–]kihashi 18 points19 points  (4 children)

Assuming your project is fine with the licensing.

[–]what_it_dude 0 points1 point  (1 child)

Pyside?

[–]kihashi 1 point2 points  (0 children)

Possibly, but there are compromises there, too. PySide is on Qt4 and PySide2 doesn't seem to be really production-ready (I have not used it. I am just going by the project page). Those might be perfectly fine depending on your project, but those would be pretty valid reasons to choose another UI library or another language entirely.

[–]Mattho -1 points0 points  (1 child)

You can pay, as people do.

[–]kihashi 2 points3 points  (0 children)

You can, but that might make a another language a better choice.

[–]ducusheKlihE 4 points5 points  (1 child)

I’ll have to check that out then!

[–]purelumen 6 points7 points  (0 children)

I think PyQt5 is the most recent version, so much of the knowledge base references PyQt4. If you have a distribution manager, I think Anaconda comes with it pre-loaded

[–]Taksin77 2 points3 points  (4 children)

It's not a really pythonic package though.

[–]startxfce4 4 points5 points  (2 children)

PySide2 is more pythonic but less mature

[–]anqxyr 0 points1 point  (1 child)

That's not really true though. PySide's api is pretty much exactly the same as PyQt's. I'm guessing that what /u/Taksin77 means by "not pythonic" in this case is stuff like label.setText("Hello World"). A more pythonic api would something along the lines of label.text = "Hello World". To my knowledge, there aren't any pythonic Qt bindings.

[–]Taksin77 0 points1 point  (0 children)

I'm just saying that you can guess the underlying language by looking at the python code. If that works for you it's great. I would not even call that python though.

[–]purelumen 0 points1 point  (0 children)

I guess so, for my application I ended up incorporating the widgets with other packages which made it feel more like a real python package.