Live data from Hacker News

PysimpleGUI

github.com

61–70 of 159 posts

Re: PysimpleGUI

#61
post #59

Earlier quoted context omitted.

I've got one very convincing reason: distribution. Having a web app makes it: * usable on pretty much any platform * easy to distribute/update * easily trustworthy/jailed (no need to install something that might access your data) It makes me sad, but as far as I can see, there is no serious alternative for universal+jailed apps.

This is not “very convincing” if it doesn’t meet your requirements. There are plenty of ways to distribute thick client apps that are usable from any client, easy to update, and which don’t have access to local resources, like Remote Desktop, VMware, Citrix, etc.

> Remote Desktop, VMware, Citrix

and ask your users to install those before being even able to use your app?

I haven't phrased my argument very neatly, but the point stands: anyone with an iphone/android/linux/… can easily use a web app, now, without any prerequisites. You don't have to bundle it or distribute it differently than with a webserver and it's a single codebase. That's not the case for any other tech that I'm aware, and it's a shame.

Re: PysimpleGUI

#62
post #2

Does anyone have experience with this? The goal to lower the entry bar for GUI development seems laudable to me, wonder where the solution stops to work, though.

It works quite well for small and medium sized programs, far better than I expected. The looping system is quite easy to use, and there is even a nice system for calling long functions without blocking the GUI.

You can even use pyinstaller to make a fake application using it.

I’d say it stops working so well if you want a ”modern” looking GUI, as the GUI looks pretty old.

Also, the documentation is really good imo.

Re: PysimpleGUI

#64
post #20

I'm surprised that nothing has filled the void that VB6 left behind in the rapid application development space. The language wasn't great, but VB6's strength was the drag and drop GUI builder.

VB6's strength was that Windows was a virtual monopoly at the time. Today you have more fragmentation, where the user masses are still mostly on Windows but the developers are mostly on Macs or Linux.

Developing a desktop GUI framework for a single platform is relatively easy. Developing a cross-platform GUI framework for three or more platforms is extremely hard. And a lot of people would STILL ignore it if it's not "mobile first", targeting iOS and Android too (meaning that it's probably dogshit for desktop apps).

Re: PysimpleGUI

#65

Looks good. I have a suggestion for it, although it might be this library is too mature for such a dramatic change: use dictionaries (which, as of a recent Python, remember which order the elements were inserted) instead of lists. I did something like that in an old job, except it was a much thinner wrapper around PyQt (and surprisingly little code). A key difference is that setting properties/signals and nesting wid…

From the github page: "The window definition is simplified by using Python core data types understood by beginners (lists and dictionaries)."

Re: PysimpleGUI

#66
post #59

Earlier quoted context omitted.

This is not “very convincing” if it doesn’t meet your requirements. There are plenty of ways to distribute thick client apps that are usable from any client, easy to update, and which don’t have access to local resources, like Remote Desktop, VMware, Citrix, etc.

> Remote Desktop, VMware, Citrix and ask your users to install those before being even able to use your app? I haven't phrased my argument very neatly, but the point stands: anyone with an iphone/android/linux/… can easily use a web app, now, without any prerequisites. You don't have to bundle it or distribute it differently than with a webserver and it's a single codebase. That's not the case for any other tech that…

I understand that you’re describing one set of benefits, that are beneficial in some circumstances.

But it’s all about requirements. The benefits you describe are not universal benefits.

Mobile app stores, where users have to install apps, transact over a $1 trillion per year. Sometimes a native app provides a better experience.

Re: PysimpleGUI

#67

The examples look straight up taken from the 90s esthetically [0]. Don’t get me wrong, for prototyping/internal tools that need a GUI to be usable by people not tech savvy enough to use a CLI it’s perfect, but what about the cases where you want things to look good? While native UI are always best for performance etc, I’ve always found them harder to style than a webpage. What is the equivalent of components (listed…

what's wrong with the 90s look? many people like it.

I hate the new generation of UIs: acres of whitespace, buttons that don't look like buttons, disappearing scrollbars, hamburgor menus.

Re: PysimpleGUI

#69
post #4
post #2

Does anyone have experience with this? The goal to lower the entry bar for GUI development seems laudable to me, wonder where the solution stops to work, though.

Not to answer your question but it brings back some nice memories. I was in college when author started this project. He worked a lot on it. After a few years, he stopped and archived the project. Looks like it's back again. Nice! I used it in all my college demo and small projects and I loved it. The most complex GUI that I made was a oscilloscope frontend for lab-made signal recorder. It is indeed a simplegui libra…

This is an awesome library. I've used it for multiple, mostly internal tools. The more complex one were a tool for cardiac action potential analysis and another for the evaluation of multiple choice tests. Complexity exploded over time, but that hinged on my coding skills, or lack thereof... PySimpleGUI did enable me to make GUI tools without getting my hands dirty outside my Python world, so kudos for that. Protip: the 'Reddit' theme looks way more modern compared to the other ones. Use that to get away from the 90s looks.

Re: PysimpleGUI

#70
post #66

Earlier quoted context omitted.

> Remote Desktop, VMware, Citrix and ask your users to install those before being even able to use your app? I haven't phrased my argument very neatly, but the point stands: anyone with an iphone/android/linux/… can easily use a web app, now, without any prerequisites. You don't have to bundle it or distribute it differently than with a webserver and it's a single codebase. That's not the case for any other tech that…

I understand that you’re describing one set of benefits, that are beneficial in some circumstances. But it’s all about requirements. The benefits you describe are not universal benefits. Mobile app stores, where users have to install apps, transact over a $1 trillion per year. Sometimes a native app provides a better experience.

I agree, sure. I was only replying to the "… but why?" comment: There are plenty convincing reasons to go the web app route, although it obviously has downsides too.
Post reply on HN