this post was submitted on 07 Dec 2023
6 points (87.5% liked)

pythonhelp

563 readers
1 users here now

A community for posts that include helping Python programmers

Discord:
https://discord.gg/39K88eCxxr

founded 1 year ago
MODERATORS
 

Do you know libraries to write simple guis that are flexible and largely adopted so I can find guides and examples? No need to design any part of it, just a rigid table-like carcass for buttons and elements.

I'm yet to dip my toe in anything graphical, but I thought that my current learning project could use a simple interface. I'm just afraid I'd give up if it would be too complicated to implement and wire to my now terminal-controlled code.

Can you suggest something for a beginner?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 5 points 11 months ago

Used tkinter once, it was easy enough. You could also try making a fancy cli with curses

[โ€“] Antimoon51 3 points 11 months ago* (last edited 11 months ago)

I used PySimpleGUI once and I think it was really nice. Can handle user input for you etc. Layout is kinda intuitive, but a bit restricted (fine for most applications imo) and you have to understand the event loop. Would recommend. Was my first gui toolkit, too.