I saw this list prior to writing PySimpleGUI. My goal is for this architecture
to be on that list down the road. Don’t care if it’s this package, only that
something similar exist and is known in the community.
There is a gaping hole between command line and a simple GUI on the screen.
It’s a huge chasm.
Here’s a fun Python-like way of using the package. You can collapse a custom
form down to a single line of (readable) code.
button, (filename,) = sg.FlexForm('Get filename example').
LayoutAndRead([[sg.Text('Filename')], [sg.Input(), sg.FileBrowse()], [sg.OK(),
sg.Cancel()] ])
Or maybe break it up:
button, (filename,) = sg.FlexForm('Get filename example').LayoutAndRead(
[[sg.Text('Filename')],
[sg.Input(),
sg.FileBrowse()],
[sg.OK(),
sg.Cancel()]])
Can a few of you with the vast amount of GUI experience you have, spend 5
minutes and run one of the examples?
This will get you started:
pip install PySimpleGUI
Then copy and paste a Recipe from the Cookbook.
https://pysimplegui.readthedocs.io/en/latest/cookbook/
For someone with a dev environment running, it’s a 2 minute exercise. It will
make for more focused comments. I’m asking that it actually be tried because I
don’t think anything like it has been proposed as a GUI framework.
@mike<mailto:[email protected]>
From: Wes Turner <[email protected]>
Sent: Friday, August 24, 2018 4:17 AM
To: Jonathan Fine <[email protected]>
Cc: Mike Barnett <[email protected]>; [email protected]
Subject: Re: [Python-ideas] A GUI for beginners and experts alike
https://docs.python-guide.org/scenarios/gui/<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.python-guide.org%2Fscenarios%2Fgui%2F&data=02%7C01%7C%7C64cf0742a0df40c53a1e08d6099a03a8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636706954428482346&sdata=UX1htv%2B%2FcsIXQh4IQvVzY8zcYAl6ZmpVt7m7cwZ0QR4%3D&reserved=0>
lists a bunch of great GUI projects for Python.
https://github.com/realpython/python-guide/blob/master/docs/scenarios/gui.rst<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frealpython%2Fpython-guide%2Fblob%2Fmaster%2Fdocs%2Fscenarios%2Fgui.rst&data=02%7C01%7C%7C64cf0742a0df40c53a1e08d6099a03a8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636706954428482346&sdata=pOImlRCDPs58hu%2FfqzTkVrG%2FxexLeps2u9YG3rtOckw%3D&reserved=0>
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/