I mean, Python is awesome in every1 single aspect (I'm a huge fan). For instance, have you ever tried to override the "import" instruction in Java with your own implementation? Although maybe not always recommended, it's a piece of cake in Python. Delegates... piece of cake in Python (callables) because literally everything is kind of an object. Damn, even types are. How awesome's that?
That's the primary reason why I'm a fan of Python. Of course, there's no one fits all programming language. Python is still junk when it comes to applications that need a sophisticated GUI.
Is from my point of view still junk because I don't know of any matured UI editor and using PyQT has very often led to severe compatibility issues in the past. It's far from sophisticated.
Cross platform is difficult. If standalone is a requirement I'll say Java. If I accept being limited to Windows and standalone is a requirement, it's WPF. Otherwise I'll say browser based, like, JavaScript + HTML + CSS + some fancy frontend library. Backend can still be Python (Django) or also JavaScript (Node.JS + ExpessJS or something like that). Except for maybe WPF they all suffer from the same issue: no good WYSIWYG editors.
/e: maybe I should add that at least for my job (AI research) there has been no need for sophisticated UIs yet. For visualization there's matplotlib and some other libraries that inherit from that. For larger business applications though I still think Python is unfit.
I've become convinced you shouldn't write cross-platform desktop GUIs. They all annoy me to no end. If I'm forced to choose one, I'd likely look at Toga, from the Beeware folks.
-2
u/[deleted] Jan 05 '18 edited Jan 05 '18
... but why?
I mean, Python is awesome in every1 single aspect (I'm a huge fan). For instance, have you ever tried to override the "import" instruction in Java with your own implementation? Although maybe not always recommended, it's a piece of cake in Python. Delegates... piece of cake in Python (
callables) because literally everything is kind of an object. Damn, even types are. How awesome's that?/e: (1 - relevant for my requirements)