Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python: Attractive, clean, packagable windows GUI library [closed]

I need to create a simple windows based GUI for a desktop application that will be downloaded by end users. The application is written in python and will be packaged as an installer or executable.

The functionality I need is simple - selecting from various lists, showing progress bars, etc. No animations, sprites, or other taxing/exotic things.

Seems there are quite a few options for Python GUI libraries (Tk, QT, wxPython, Gtk, etc). What do you recommend that:

  • Is easy to learn and maintain
  • Can be cleanly packaged using py2exe or something similar
  • Looks nice

[Update] For what it's worth I ended up going with tkinter. It's fairly well documented, can be made to look nice (mainly, use native fonts), and most importantly ships with Python so there's nothing extra to worry about. wxpython also looked good, but the download was 10M or so, and I didn't want to add that extra weight to the packages I distribute.

like image 613
Parand Avatar asked Apr 12 '26 09:04

Parand


1 Answers

tkinter's major advantage (IMHO!) is that it comes with Python (at least on Windows). It looks ugly, and there's no progress bar or something like that (at least not builtin). Being a thin wrapper around Tk, its API doesn't feel very elegant or intuitive. However, there are quite a few good Tkinter resources on the web so learning it is not necessarily a pain.

For any serious GUI attempts, I'd go for wxPython as well. I don't know about packaging, though. But I wouldn't expect any problems.

like image 65
Alexander Gessler Avatar answered Apr 15 '26 00:04

Alexander Gessler