Top
Best
New

Posted by geophph 4 days ago

PySimpleGUI 6(github.com)
103 points | 58 commentspage 2
whatever1 1 day ago|
Today I wanted to build a simple ui that maps time across 3 time zones.

After spending some time thinking about using it across my Mac and Linux machines, I just had Claude write an html file.

Nice, simple runs everywhere.

HPsquared 1 day ago|
Local HTML files with embedded JavaScript are fantastic for mini portable apps. You can even load/save files with some finesse.
geophph 1 day ago||
Simon Willison has mentioned this (portable html / js apps) before and has a collection online

https://tools.simonwillison.net

xenophonf 2 days ago||
I stopped using this when the dev did their rugpull and won't go back.
ltbarcly3 2 days ago||
I think AI coding has made these "we dumb down a real UI framework for you" libraries obsolete. Anyone can get a GTK or QT app up and running now. This isn't a criticism, they were very useful to build GUIs in the past, but now they are just obsolete and more likely to introduce bugs or limitations you can't work around than to help much.
sinpif 1 day ago||
Taken to an extreme, what's stopping us from going back to C? The security issues will be found and resolved, performance will be great and it will compile on all platforms that ever existed.
lmm 1 day ago|||
> The security issues will be found and resolved

Will they though?

ltbarcly3 1 day ago|||
well I think C is just a bad Rust now so yes, I think everything is going to get rewritten in rust.
marshray 1 day ago|||
Is this a new form of gatekeeping?

I.e., "too human-friendly to survive in the presence of The Great AI™".

If so, where does that lead us?

hereme888 1 day ago|||
That's an aggressively negative over-interpretation of OP. Clearly not what was meant.
ltbarcly3 1 day ago|||
These libraries are not more human friendly. Humans can write GTK or win32 or QT or Cocoa code just fine. GUI frameworks are very complex and often have very in depth setup code that is required. It requires a huge investment to get an app up and running with a GUI framework, and AI makes setting that up approachable when it was a real challenge before.

Have you ever written GUI code using one of the big GUI frameworks?

PapstJL4U 1 day ago||
I, not the previous writer, have and PSG did exactly this. It made writting compact GUIs for smaller projects manageable without going into the deeps of GTK, win32 or QT.

I tried a bunch of Frameworks and some were easier (PSG, Kivi) and others much harder.

huflungdung 2 days ago||
[dead]
IshKebab 2 days ago|
Hmm apart from distribution (which is a pain to set up) I still don't think you can beat QtWidgets and QtCreator for simplicity of getting a professional GUI. It has a form editor that actually works. I think maybe the only one I've ever used. Then you can pretty much just click on buttons and add event handlers. Very easy to get going and it scales very far.

There are a few downsides... there are better options than C++ these days (Rust most obviously), QtWidgets is in maintenance mode, it's a bit of a pain to make an installer from your app, and it doesn't really support modern styling.

But I'd still pick it over this in a heartbeat.

NewsaHackO 1 day ago|
Yes, especially with AI unless the user has literally never programmed anything before, it seem actually easier to use Qt for something like this (honestly, it probably would be easier to just make a webapp if they have no experience)