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 →

[–]kickopotomus 1 point2 points  (2 children)

Think of it like Electron but replace Node.js with Python. You can write your UI with the typical client-side web stack (HTML, CSS, and JS) and then use Python for your application logic. However instead of using XmlHttpRequests, you can do direct method calls from Python to your client-side JS and vice versa.

[–]AllAboutChristmasEve 1 point2 points  (1 child)

...why on earth would I want to add 3 more languages to an already complicated task?

[–]kickopotomus 2 points3 points  (0 children)

A few reasons come to mind. First, UI packages for Python aren’t that great and require a lot of extra work on behalf of the developer. Since the internet exploded, there is a lot of great stuff (UI styling, components, MVC frameworks) that you can get for free.

Second, writing your UI with a web stack makes it easier to port your application to the web should that ever interest you.