OO on python real life tutorial?

Claudio Grondi claudio.grondi at freenet.de
Sun Sep 3 07:33:39 EDT 2006


Patrick Thomson wrote:
>>I personally don't like wxPython because the way it works is very
>>counter intuitive for me and appear to me somehow non-Pythonic
> 
> 
> While Claudio has a point (wxPython is a C++ library at heart), I
> believe that wxPython is the best solution for Python GUI's out there.
> TK may be a lot easier, but with a little practice wxPython becomes
> very clear, and the skills you learn therein will be applicable to
> almost any other GUI toolkit out there (Swing and SWT were far, far
> easier to learn thanks to my wxPython experience.) After all, GvR said
> that "wxPython is the best and most mature cross-platform GUI toolkit,
> given a number of constraints. The only reason wxPython isn't the
> standard Python GUI toolkit is that Tkinter was there first."
> 
> The Wax toolkit (http://zephyrfalcon.org/labs/wax.html) attempts to
> solve the problems inherent with wxPython and make it more pythonic.
> I've never used it, so I don't know if it succeeds.
> 
> 
>>wxPython is like programming in Microsoft Visual Basic or Visual C++ :
>>some love it, some don't.
> 
> 
> Though that is true, I don't think that the analogy holds up at all.
> The power of wxPython lies in its attractiveness across all platforms
> and the freedom that it gives you; VB and VC++ lock you in what
> Microsoft want you to do. (To be fair, that isn't a Bad Thing by
> definition.)
> 
> 
>>>I want to switch to wxpython because I don't like Tk too much. It is
>>>difficult sometimes to have full control of the widgets (i.e. focus
>>>sequence). Why do you think wxwidget is not suitable for low-medium
>>>size projects? Could you give me some practical examples of this?
> 
> 
> I respectfully disagree with Grondi's opinions; a list of notable
> wxPython projects (http://wiki.wxpython.org/index.cgi/wxPythonPit_Apps)
> showcases projects both small and expansive.
What I can't understand here is, with which of my opinions you disagree 
as one line below of my posting (you are responding to) I write: "I 
haven't said, that it is not suitable [for low-medium
size projects]." ...

By the way: why is it so hard to develop a wxPython application which 
runs with any wxPython version? Are the subsequent wxPython versions by 
definition not compatible or do only the quirks change from release to 
release being shifted between the problem zones?

Claudio Grondi



More information about the Python-list mailing list