Post AkVCWEXhh1csTEYRiy by drazraeltod@chaos.social
 (DIR) More posts by drazraeltod@chaos.social
 (DIR) Post #AkV8ahXHRIj3jVEPIW by foone@digipres.club
       2024-07-31T20:50:08Z
       
       0 likes, 1 repeats
       
       Are there any good options for simple Python-based GUIs, targeting Windows?The GUI I need will be very simple: some text boxes, file dialogs, and some progress bar. The kind of thing you can mock up in Visual Basic in 5 minutes.
       
 (DIR) Post #AkV8himZCeQHcsjG1A by foone@digipres.club
       2024-07-31T20:51:00Z
       
       0 likes, 0 repeats
       
       (one of my many failings as a programmer is that my first experience programming that wasn't in DOS was with Visual Basic, and every language/environment I've touched since then has been worse at building GUIs than VB5)
       
 (DIR) Post #AkV93VDAL9qVuJYYu8 by ChuckMcManis@chaos.social
       2024-07-31T20:52:58Z
       
       0 likes, 0 repeats
       
       @foone You mean like PyQT?
       
 (DIR) Post #AkV9b91xJYLMxcM42a by monkeyspawdom@kinkyelephant.com
       2024-07-31T20:53:54Z
       
       0 likes, 0 repeats
       
       @foone Pygame maybe?
       
 (DIR) Post #AkV9gIpyHStap7D0mu by kimvanwyk@fosstodon.org
       2024-07-31T20:53:57Z
       
       0 likes, 0 repeats
       
       @foone if it's super simple something like Gooey might do it for you: https://pypi.org/project/Gooey/. I see it hasn't been updated in a while but it met my very simple GUI need just fine not all that long ago (my users normally get only a begrudging CLI, if they're lucky)
       
 (DIR) Post #AkV9teqzjdhIs43WL2 by plaidtron3000@jorts.horse
       2024-07-31T20:54:27Z
       
       0 likes, 0 repeats
       
       @foone I think the standard for a dead simple UI on top of Python is probably Tk, via tkinter.
       
 (DIR) Post #AkVAfkFWyda9VPShwu by vfig@mastodon.gamedev.place
       2024-07-31T20:55:02Z
       
       0 likes, 0 repeats
       
       @foone no. simply put, there are no good options for guis in python, even now in the Year of our Guido 2024
       
 (DIR) Post #AkVAxWlBrvhCsikYIC by ukscone@fosstodon.org
       2024-07-31T20:55:33Z
       
       0 likes, 0 repeats
       
       @foone appjar and guizero are ok. i use them for my windows python apps when i need a simple guihttp://appjar.info/https://lawsie.github.io/guizero/
       
 (DIR) Post #AkVB5ztrPZZpZdqOC8 by tartley@mastodon.social
       2024-07-31T20:55:50Z
       
       0 likes, 0 repeats
       
       @foone I haven't used it but am intrigued by fasthtml's claims of simple creation of web UI purely from Python.
       
 (DIR) Post #AkVBvW27hU0O0CH5Vo by kirby@hollow.raccoon.quest
       2024-07-31T21:29:07.093Z
       
       0 likes, 0 repeats
       
       @foone@digipres.club tkinter i think
       
 (DIR) Post #AkVBxH5QF8PUDzelHs by k@layer8.space
       2024-07-31T20:56:50Z
       
       0 likes, 0 repeats
       
       @foone *doesn't winui have bindigs?
       
 (DIR) Post #AkVCCvN0kepvVRLVNA by mgleadow@mastodon.green
       2024-07-31T20:57:23Z
       
       0 likes, 0 repeats
       
       @foone this in no way answers your question, but I've been pleasantly surprised getting to grips with WinUI3 using XAML for layout. I've just about figured out how to do MVVM in it, but mocking up a GUI only requires hacking XML
       
 (DIR) Post #AkVCHSFcRYtAdt34Ma by Dodecahedrus@mastodon.social
       2024-07-31T20:57:19Z
       
       0 likes, 0 repeats
       
       @foone there's some python bindings for dear imgui https://pyimgui.readthedocs.io/en/latest/guide/first-steps.html
       
 (DIR) Post #AkVCWEXhh1csTEYRiy by drazraeltod@chaos.social
       2024-07-31T20:58:17Z
       
       0 likes, 0 repeats
       
       @foone this, but with Delphi!(and I'm doing that frontend-thing for a living)
       
 (DIR) Post #AkVD8bfm8ydvDBcz5s by arnsholt@hachyderm.io
       2024-07-31T21:00:33Z
       
       0 likes, 0 repeats
       
       @foone So annoying. Almost my only contact with GUI making was a late 90s vintage commercial Smalltalk, which makes any other GUI thing I touch similarly infuiriating.
       
 (DIR) Post #AkVDMT9waqB4rVLhsO by anselmschueler@ieji.de
       2024-07-31T21:00:44Z
       
       0 likes, 0 repeats
       
       @foone Tkinter or running Zenity in WSL /s
       
 (DIR) Post #AkVDNk19Ot5HR6qIdc by luca@social.luca.run
       2024-07-31T21:00:57Z
       
       0 likes, 0 repeats
       
       @foone Some years ago, I was happy with https://www.pysimplegui.com/ for a tiny tool, that needed to run on Windows.
       
 (DIR) Post #AkVE57YnkEl4uAGduq by matt@proud.social
       2024-07-31T21:03:32Z
       
       0 likes, 0 repeats
       
       @foone This observation is so profoundly true.Eons ago, I remember a decent RAD for Gtk+.  It wasn’t VB5/6 ease, but decent enough.  Perhaps there is something in the tkinter space like this: https://github.com/ObaraEmmanuel/Formation.
       
 (DIR) Post #AkVEAxAXICRUPjhNLs by attie@chaos.social
       2024-07-31T21:04:18Z
       
       0 likes, 0 repeats
       
       @foone I've done some ultra-basic things with guizero - on top of tinder and worth a lookhttps://lawsie.github.io/guizero/about/
       
 (DIR) Post #AkVEGkQZZra8dQxkgq by pux0r3@mastodon.gamedev.place
       2024-07-31T21:07:54Z
       
       0 likes, 0 repeats
       
       @foone I use Tkinter for most of my python GUIs. I periodically consider Kivy and you could always try Python.NET, but Tkinter is a pack-in and works everywhere.
       
 (DIR) Post #AkVESSoQtc2nTfi3fs by misingtale@mastodon.social
       2024-07-31T21:12:31Z
       
       0 likes, 0 repeats
       
       @foone I recently faced the same challenge, tkinter is ok so long as you can fit your UI into a grid. I sketched what I wanted on squared paper and had a UI for a test harness in about 2 hours. Didn't have to look good just be useful.
       
 (DIR) Post #AkVEmgKKML4FBRGiqe by f15sim@mastodon.social
       2024-07-31T21:15:03Z
       
       0 likes, 0 repeats
       
       @foone If you're interested in Object Pascal, take a look at Lazarus.
       
 (DIR) Post #AkVF0rVjZfThvMMkAC by cdonat@hostsharing.coop
       2024-07-31T21:20:14Z
       
       0 likes, 0 repeats
       
       @foone Long time ago, I've used Tk for something like that.
       
 (DIR) Post #AkVFikmTxOe5nG82XQ by darkling@mstdn.social
       2024-07-31T21:34:42Z
       
       0 likes, 0 repeats
       
       @foone I loathe writing GUIs, but the two things that I've found that made it not-entirely-horrible are tkinter in Python, and elm. So, if you're writing in Python, my vote's for tkinter.
       
 (DIR) Post #AkVFpcBKKM2x9O1Nlg by bytex64@awesome.garden
       2024-07-31T21:35:13Z
       
       0 likes, 0 repeats
       
       @foone Preach!
       
 (DIR) Post #AkVHdsmWyzJh4GxN32 by davew@mastodon.online
       2024-07-31T22:32:13Z
       
       0 likes, 0 repeats
       
       @foone For very basic UI there is easygui. Not gonna help if you need more than simple dialogs and forms.https://pypi.org/project/easygui/
       
 (DIR) Post #AkVIeJrKPSEb07yMSG by prozacchiwawa@functional.cafe
       2024-07-31T22:43:25Z
       
       0 likes, 0 repeats
       
       @foone ironpython + windows forms might be the lowest dependency choice if your python can run in ironpython.
       
 (DIR) Post #AkVQQ69XN7204SDfpg by Jhynjhiruu@toot.wales
       2024-08-01T00:10:27Z
       
       0 likes, 0 repeats
       
       @foone tkinter. Use tkinter for it. Every comment about anything other than tkinter misunderstands the problem you are trying to solve. tkinter is what you want for this.
       
 (DIR) Post #AkVU5XIzckA81C5pmS by hugoestr@functional.cafe
       2024-08-01T00:51:34Z
       
       0 likes, 0 repeats
       
       @foone VB was so good for these things
       
 (DIR) Post #AkVwoj3RaJfuCo9lcu by lethal_guitar@mastodon.social
       2024-08-01T06:13:14Z
       
       0 likes, 0 repeats
       
       @foone does it need to have native Windows UI elements? If not, maybe PyImGui: https://github.com/pyimgui/pyimguiI haven't used the Python bindings myself but I love using Dear ImGui for C++ GUIs, and it's a lot quicker to get something going compared to most other UI toolkits
       
 (DIR) Post #AkW8bjBeynmoImZHhg by cstross@wandering.shop
       2024-08-01T08:25:40Z
       
       0 likes, 1 repeats
       
       @foone How about looking at python-qt? Qt is cross-platform so should be portable to linux/unix and macOS as well, and there are bindings for a variety of languages other than python (it's originally C++).
       
 (DIR) Post #AkWbEvd9Rkguu9uKzQ by UpLateGeek@bitbang.social
       2024-08-01T13:46:13Z
       
       0 likes, 0 repeats
       
       @foone you just need to turn it into a web app and have it run in your browser. Add a dash of scripting here, a load balancer there, and you’ve got a scalable cloud solution that would probably cost as little as a couple hundred to a couple thousand dollars a month. Who needs a simple program, when a cloud solution is worse, more difficult to maintain, and less secure!
       
 (DIR) Post #AkaOMLwXUeLNle1f6G by petealexharris@mastodon.scot
       2024-08-03T09:40:56Z
       
       0 likes, 0 repeats
       
       @foone Is tkinter still a thing? I haven't used it in years, but if it's still bundled with Windows builds of python, it might have a bonus pleasing retrocomputing vibe.