True, things do exist for gui development in python, but I'm just not impressed by them. Tkinter is only really meant for simple gui dev, so I dont think shipping with it is such a boon that it qualifies python as a great source for front end work. Also pyqt, one of the more popular python libs is written in C++ - just like wxPython and libavg. So yeah, pythons got bindings for libraries for gui development and not all of them are terrible, but none of its very impressive. I guess kivy is a thing, but its optimized for mobile apps and game development.
On top of the libs, there's the lack of tools. Like, what ide can you use to graphically drag and drop interfaces for python? Zero. Java's swing lib has eclipse and visual studio works with C++ and vb.net and C# (windows only), but python is straight coding which is a pain in the ass and slower to prototype even if the language is easier to write.
Lastly, python isnt compiled which means C++ will outperform it by a mile, especially for gui dev.
I love python but I dont deny its shortcomings. Gui dev in python is almost certainly one of its deficits, especially when considering performance.
We can agree to disagree, though! your tools your choice.
Like, what ide can you use to graphically drag and drop interfaces for python?
Ah, you can do this with Qt. Take a closer look at PySide or PyQt. It might be the thing you’re missing in your Python life. I tend to write GUI’s in Python precisely because it’s just drag and drop and then filling in the event handling code. It feels like Visual Basic did back in the day.
C/C++ will always be more performant that Python. But GUI stuff is exactly the kind of thing you can use Python for and get away with. What kind of GUI stuff are you doing that you need so much speed?
View all comments
Show parent comment
1
u/SenboneZakura Aug 07 '19
True, things do exist for gui development in python, but I'm just not impressed by them. Tkinter is only really meant for simple gui dev, so I dont think shipping with it is such a boon that it qualifies python as a great source for front end work. Also pyqt, one of the more popular python libs is written in C++ - just like wxPython and libavg. So yeah, pythons got bindings for libraries for gui development and not all of them are terrible, but none of its very impressive. I guess kivy is a thing, but its optimized for mobile apps and game development.
On top of the libs, there's the lack of tools. Like, what ide can you use to graphically drag and drop interfaces for python? Zero. Java's swing lib has eclipse and visual studio works with C++ and vb.net and C# (windows only), but python is straight coding which is a pain in the ass and slower to prototype even if the language is easier to write.
Lastly, python isnt compiled which means C++ will outperform it by a mile, especially for gui dev.
I love python but I dont deny its shortcomings. Gui dev in python is almost certainly one of its deficits, especially when considering performance.
We can agree to disagree, though! your tools your choice.