Re: UI toolkits for Python



Kenneth McDonald <kenneth.m.mcdonald@xxxxxxxxxxxxx> writes:
> 1) Which plays best with Python? Ideally, it would already have some
> higher-level python libraries to hide the grotty stuff that is almost
> never needed when actually implementing apps.
>
> 2) Reliability of each?
>
> 3) Useful external libraries for each?
>
> 4) Ease of installation/use on OS X?

The answer to each of those questions points to Tkinter. It comes
with Python by default (the least installation hassles of any
toolkit), is pretty reliable, has a reasonably Pythonic interface, and
I don't understand the question about external libraries.

However, Tkinter not most people's favorite, because the widgets look
crude, they don't resemble the native widgets of any popular platform,
and the widget set is somewhat limited.

That suggests you're not asking the right questions.

I use Tkinter because the Python gui's I've built so far have been for
straightforward functionality purposes without being fancy. However,
if I were doing something for wide distribution and wanted it to look
sharp, at this point I think I'd go for PyGtk despite the preference
of many for wxpython.

Finally, don't overlook the possibility of embedding a basic web
server in your app, and having the user communicate with it through a
web browser. That turns HTML into your gui, which is very easy to
program. It also lets you easily handle remote clients, multiple
concurrent clients, etc, and gives users a familiar and intuitive
interface.
.



Relevant Pages

  • Re: How to do basic CRUD apps with Python
    ... With Python, finding such library, or apps. ... Are there any Python libraries to do that sort of thing? ... done with django or cherrypy? ...
    (comp.lang.python)
  • Re: Pythons garbage collection was Re: Python reliability
    ... >>> Has anyone looked into using a real GC for python? ... A strategy based on PURE reference counting just ... > extensions, and with correct implementations, both refcounting and GC are ... > Lucky those existing C libraries were written to use python's refcounting! ...
    (comp.lang.python)
  • Re: Python component model
    ... other libraries. ... application domains like Scientific Python. ... dearth of Web frameworks as a benefit, I think you'd see less activity ... near-blessing of Django: it's almost nonsensical. ...
    (comp.lang.python)
  • Re: Why Lisp is not popular with average programmers
    ... are multiple implementations of Common Lisp, the "fragmentation" of which you speak can simply not exist in in Common Lisp ... ... the implementations differ on these. ... But, there are compatibility libraries that you can use rather than your implementation's primitives, and have your code portable across implementations. ... Python seems horribly "fragmented" as well. ...
    (comp.lang.lisp)
  • Re: How Common Lisp sucks
    ... web server up and running using Python takes substantially less effort ... You're right, it's not an advantage of the language itself, but it's ... the effort required to locate the right libraries ... I think a lot of the advances that happen in programming languages ...
    (comp.lang.lisp)