Best GUI for Python
Gary Herron
gary.herron at islandtraining.com
Sun Apr 26 16:06:22 EDT 2015
On 04/26/2015 11:07 AM, Cecil Westerhof wrote:
> Op Sunday 26 Apr 2015 19:12 CEST schreef Gary Herron:
>
>> 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).
> I did say for the moment. ;-)
>
> But just curious: what is the reason you use five different kinds of
> GUI? It seems like it makes think difficult for you. I mean the
> question as enlightenment for myself.
>
Yikes, Stated like that it does sound excessive but in reality it's
spread over about 20 years of Python and graphics/GUI programming.
Experimenting with a new GUI every 5 years or so just keeps the
interest levels up.
More information about the Python-list
mailing list