Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any "nice to program" GUI toolkits for Python? [closed]

I've played around with GTK, TK, wxPython, Cocoa, curses and others. They are are fairly horrible to use.. GTK/TK/wx/curses all seem to basically be direct-ports of the appropriate C libraries, and Cocoa basically mandates using both PyObjC and Interface Builder, both of which I dislike..

The Shoes GUI library for Ruby is great.. It's very sensibly designed, and very "rubyish", and borrows some nice-to-use things from web development (like using hex colours codes, or :color => rgb(128,0,0))

As the title says: are there any nice, "Pythonic" GUI toolkits?

like image 716
dbr Avatar asked Aug 30 '08 12:08

dbr


1 Answers

Have you looked at Qt/PyQt? Although PyQt is a direct port from the C++ library, I find it much more pythonic and nice to program with compared to the others you listed. It also has very good documentation.

Dabo has a nice ui library implemented on top of wxPython. It's a framework intended mostly for database-centric applications, but the ui library can be used separately.

There are/were several other attempts to create a very pythonic gui as a layer on top of PyGtk or wxPython, such as wax and PyGui, which seem to be "stuck" at various degrees of being complete.

Also, an exhaustive list of Python GUI toolkits can be found here.

like image 74
dF. Avatar answered Sep 16 '22 17:09

dF.