Live data from Hacker News

PysimpleGUI

github.com

81–90 of 159 posts

Re: PysimpleGUI

#81
> Supported frameworks include tkinter, Qt, WxPython, or Remi. The term "wrapper" is sometimes used for these kinds of packages.

Other than the support for web UIs, this seems like Java AWT but for Python. It presumably has the 'lowest common denominator' problem of supporting only those widgets which are available in all the wrapped GUI toolkits.

For desktop UI work, why not just use Qt's official Python bindings? Qt has good cross-platform support, and its Python API seems very approachable.

https://doc.qt.io/qtforpython-6/quickstart.html#create-a-sim...

Re: PysimpleGUI

#82
post #15
post #6

In 2023 isnt it almost always better to make a webapp through dash or something if you need a “gui”?

As a user, definitely not. Web apps are slow, require an internet connection, don't integrate nicely with my OS, and generally inferior to native GUIs in just about every way.

Python is such a nightmare to package and use for users, especially for Gui, that even web apps can be better.

Re: PysimpleGUI

#83
post #14

I'm really, really excited about these GUI frameworks. Native desktop experience is so much better than web-view amalgamations. And kudos to PySimpleGUI for the simplified event loop, and multi-backend approach, that is genuinely new. I do wonder why don't we see more "automatic" GUIs: given some data structures and functions, make a passable interface to interact with them. Use heuristics to pick when a panel should…

> "automatic" GUIs

There was something answering that description a couple decades ago, called Naked Objects. Never tried it because I wasn't into Java, but it sounded useful.

Re: PysimpleGUI

#84
post #27
post #14

I'm really, really excited about these GUI frameworks. Native desktop experience is so much better than web-view amalgamations. And kudos to PySimpleGUI for the simplified event loop, and multi-backend approach, that is genuinely new. I do wonder why don't we see more "automatic" GUIs: given some data structures and functions, make a passable interface to interact with them. Use heuristics to pick when a panel should…

This might be of interest to you: > Gooey - Turn (almost) any Python 3 Console Program into a GUI application with one line https://github.com/chriskiehl/Gooey

Thanks, that's exactly the right direction. But not yet the right magnitude. You're still limited to what's representable as single CLI invocations.

Re: PysimpleGUI

#85

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…

> use dictionaries (which, as of a recent Python, remember which order the elements were inserted) instead of lists. It feels that way to me too but that change was introduced in Python 3.7, which is over five years old now! https://docs.python.org/3/whatsnew/3.7.html#summary-release-...

AFAIK 3.7 only officially blessed the status quo. Python dictionaries have preserved insert order for a long time.

Re: PysimpleGUI

#87
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.

Xojo is basically VB6's spiritual successor.

https://xojo.com/

Re: PysimpleGUI

#88
post #14

I'm really, really excited about these GUI frameworks. Native desktop experience is so much better than web-view amalgamations. And kudos to PySimpleGUI for the simplified event loop, and multi-backend approach, that is genuinely new. I do wonder why don't we see more "automatic" GUIs: given some data structures and functions, make a passable interface to interact with them. Use heuristics to pick when a panel should…

TraitsUI was/is a good "automatic UI" for python.

Re: PysimpleGUI

#89
We had a work requirement to start logging hours in Jira. I hated having the website open, it was slow to find the Jira I was working on, find the link for logging hours and adding a comment. I wanted a desktop app that had a list of issues assigned to me with buttons to add comments and work log hours.

I messed with Tkinter but was struggling for awhile just getting it to look…nice. I stumbled on PySimpleGUI and suddenly I was flying. Setup the hooks to the Jira api and I had what I wanted. Was a great project to learn UI development.

Re: PysimpleGUI

#90
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.

I haven't felt any void. 20+ years of Qt, Delphi and then Lazarus was enough.
Post reply on HN