wxPython/wxWidgets ok for production use ?

CM cmpython at gmail.com
Sat Mar 22 03:21:30 EDT 2008


On Mar 10, 3:27 pm, Stef Mientki <stef.mien... at gmail.com> wrote:
> Stefan Behnel wrote:
> > Malcolm Greene wrote:
>
> >>> My personal experience with wxPython has its ups and downs. Specifically
> >>> when it comes to crashes, I wouldn't bet my life on it.
>
> >> I'm new to Python and getting ready to build a small client based
> >> application intended to run on Windows and Linux. I was planning on using
> >> wxPython until I saw your comment above.
>
> > Just to make this sound a bit less like FUD: my last experience with wxPython
> > dates back a couple of years (2004/5?), but back then, we used BoaConstructor
> > in a project, which crashed a bit too often to do real work with it - and with
> > crashing I mean crashing Python, not just showing us its blank traceback. So
> > this was definitely a problem either in wxWindows or in wxPython.
>
> > I have no idea how well it works today, but this has definitely forged my
> > opinion on wxPython.
>
> I'm using wxPython for half a year now, and building quit a large /
> heavy GUI with it.
> And although it's not so easy as Delphi, it's certainly just as stable
> as Delphi.
>
> If you're talking aboutBoa, that's a completely different story,
> I tried it on 3 different machines, and couldn't get it working on any
> of them. I thinkBoa/ Dabo / .. are basically good ideas to make programming
> wxPython more easy, and probably a lot of people invested a lot of their free time in the
> product with the best intentions, but unfortunately these programs are not ready for use by
> others (specially not for windows users).

Although Boa Constructor is not yet "perfect", I am using it all the
time with, in my (very limited) opinion, very good results.  One thing
is that the download site is not updated frequently, even if SVN is,
so you must get it from SVN to get the recent version.  Once I got the
swing of doing things the Boa-istic way, I can set up pages, with
sizers, and with many (but not all) of the currently available
wxPython widgets, really quickly.  Taking the tutorial, though tedious
of course, pays off later.  Although there are always more
improvements it could have, what is there I find extremely
impressive.  It can draw bitmaps, allow for notes, shows sizers
graphically, allows for timers and other utilities, works with Zope
(though I haven't done that), and tons of stuff I'm not even aware of
yet.

One key is to create any changes to your app by hand but NOT in the
sections which indicate that they are Boa-generated and not to be
edited (the Designer takes "jurisdiction" over them).  Early on I was
frustrated by commenting things out in those sections and then having
Boa "constrict" and swallow them whole--gone code!  But now I just do
things in my own def statements, and there are no problems with that.

I understand if it is not for everyone, though; these things are a
matter of taste to some degree it would seem.  But I just figured I'd
get a testimonial out there.



More information about the Python-list mailing list