PDA

View Full Version : Python GUI



DeadRobot
January 28th, 2009, 12:37 PM
Which python GUI toolkit should I use with Ubuntu?

I want some that is relatively easy to learn, is somewhat popular, and that works on Ubuntu.

maximinus_uk
January 28th, 2009, 01:49 PM
There are lots, but to cut to the chase, you can take your pick of either GTK+ (by using pyGTK) or QT (using pyQT).

Both are stable, fully documented and will do everything you want.

I've been through the ropes of learning both with Python, and I would say that on the whole, the documentation for pyGTK is slightly easier to use, and that pyGTK apps look like standard Gnome apps, which may look more natural if you are used to Ubunutu with Gnome.

But like I say, they are both good. Happy Hacking!

scooper
January 28th, 2009, 11:20 PM
wxPython is another decent alternative. It's very complete and very portable. I do have issues with the documentation. You have to do a mental translation from C++ to Python and it's pretty minimal.

On the other hand, QT is much better supported and documented, and is also a powerful clean framework with a new, more open, license. You don't have to love KDE to use QT.

fiddler616
January 29th, 2009, 12:03 AM
You don't have to love KDE to use QT.
But GNOME people might eat you if they need to drag in Qt just to run one app.

scooper
January 29th, 2009, 12:50 AM
But GNOME people might eat you if they need to drag in Qt just to run one app.

They better be hungry. I'm a lot larger than the typical gnome. :)

Seriously, it seems to me with modern machines and resources, to worry about pulling in QT is a bit ridiculous.