On 04/26/2015 09:32 AM, Cecil Westerhof wrote:
Op Sunday 26 Apr 2015 17:09 CEST schreef Steven D'Aprano:
On Sun, 26 Apr 2015 11:02 pm, Cecil Westerhof wrote:
I want to use a GUI for Python. When searching I found (beside some
others) Tkinter and wxPython. From what I found it looks like
Tkinter is slightly better. What would be the pros/cons of these
two? Would there be a compelling reason to use another GUI?
Tkinter is easier to use, as it is standard with Python. So long as
you have Tk/Tcl installed on your computer, Tkinter should work
fine.
However, Tkinter probably looks a bit more old fashioned.
wxPython probably looks a bit more modern and may be a bit more
powerful, but it will require a large extra library. It's also a lot
harder to learn to use wxPython unless you are comfortable with C++
programming.
Well, I did my share of C++ programming. ;-)
Have you seen this?
https://wiki.python.org/moin/GuiProgramming
Dabo looks interesting, but also a little bit dead. Well, maybe I just
should evaluate Tkinter and wxPython both. Now wxPython looks more
interesting. But it is easier to make a reasonable decision when I
have a little more information. :-D
For the moment I limit it to Tkinter and wxPython.
I wouldn't recommend limiting yourself like that. I've used both
successively (years ago), then pyGTK for a batch of projects, followed
by pyglet for some years and many projects, and most recently PyQt.
They are all worthy GUI programming libraries, and each of them is cross
platform (as I required to develop on Linux, but deploy occasionally on
Windows).
--
Dr. Gary Herron
Department of Computer Science
DigiPen Institute of Technology
(425) 895-4418
--
https://mail.python.org/mailman/listinfo/python-list