wxPython questions

Edward K. Ream edreamleo at charter.net
Thu Jul 17 16:52:22 EDT 2003


I am considering switching from Tk to wxPython; the demo is just so cool.
Here are my questions:

How reliable is wxPython? This is the big one.

In more than two years of Tkinter development I've taken exactly one core
dump in Tk.  I can get wxPython's demo.py to take memory faults with the
Unicode enabled version of wxPython on XP.  About half the time clicking on
the Generic Buttons demo yields: "Unhandled exception in python.exe
(WXMSW24UH.DLL)"  The wxTimeControl demo also throws AttributeError
exceptions.  Not a big deal, and one wonders...

Tk does a lot of checking; wxWindows apparently does little or none.  I
don't really mind hard crashes during development; core dumps for my users
must never ever happen.  How difficult is it in practice to get all the core
dumps out of a medium-sized wxPython app?

Presumably many of the wxWindows helper classes aren't needed in wxPython.
Besides the actual widget classes, what other wxWindows classes must a
wxPython app use?  Any others besides wxColor, wxIcon and wxFont?  What
about strings?  I'd much rather use Python strings instead of wxString.

Is it possible to have an app that creates multiple windows without using
wxDoc and allies?  My app presently creates a hidden TK root window, and
manages all other Tk windows by hand.  Is something like this possible in
wxPython?

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edreamleo at charter.net
Leo: Literate Editor with Outlines
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------






More information about the Python-list mailing list