I want a simple desktop interface for a small Python program, without a browser interface or a huge set of dependencies. Tkinter's default look feels dated to me. What else is worth trying?
What's a lightweight way to make a decent-looking Python desktop GUI?
Answers
Before ditching Tkinter, check whether you were using the older Tk widgets or ttk. Ttk offers themed versions of most common widgets and generally looks closer to native controls. The Text widget is one notable exception without a direct ttk equivalent.
CustomTkinter is another option if you want a more modern style while staying in the Tkinter world. It may be the quickest thing to try for a small utility.
Reply to this answer
PySide6 is worth a look if you want Qt's desktop widgets and a capable toolkit. The tradeoff is size. Check the installed and packaged size for your target system before committing, since keeping dependencies small is one of your goals.
Looks are subjective too. Some people like Qt's appearance, while others find it needs more styling work.
Reply to this answer
Dear PyGui could be a good fit for a utility or dashboard. It has a different feel from a conventional native widget toolkit, though, and it can be heavier than the smallest Tkinter-based options.
Reply to this answer
Take a look at FreeSimpleGUI if the main goal is getting a small form together quickly. It's an alternative in the PySimpleGUI style, although the styling options are more limited than some of the other choices.
Reply to this answer
If this is just a personal tool, would a terminal interface be enough? Textual is an option if you care more about a clean interface than having a conventional desktop window. It doesn't use a browser, but it is a terminal UI rather than a desktop GUI.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions