Is there any good wxPython documentation?

achrist at easystreet.com achrist at easystreet.com
Tue Oct 21 02:00:56 EDT 2003


Daniel Ehrenberg wrote:
> 
> I'm trying to learn wxPython, but I can't seem to find much
> documentation. The wxPython website says that all advanced (and even
> some basic) documentation for wxPython is only available in C++ syntax
> in the main wxWindows documentation. It also says that the samples
> will help, but I can't seem to make sense of them. Should I just use a
> not-as-good GUI like Tkinter or a not-as-common one like Anygui or
> PyUI if I want to have documentation?

If you look at a few wxPython examples and the wx.chm help on the
corresponding classes, you should see how the wx.chm help relates to
the Python usage.  The translation between C++ usage and python 
usage of wxWindows really is pretty straightforward about 98% of
the time, and there are some python-specific notes in the wx.chm file
that cover most of the remaining 2%.  I've done some tkinter and quite
a bit more wxPython,  and they really are quite similar.  If you
nderstand how event-driven UI's work, you'll see that the same basic
principles of how an app goes together are expressed comparably in each
toolkit.

About a year ago, I felt the same way about the lack of elementary
wxPython docs as you do.  It seems that everyone who has had that 
complaint either goes away or sticks with it for a week or two and
figures it out and then there is no problem.  Not to make light of
your frustration,  but this question is some ways similar to "Why 
aren't there any good books for beginners on how to ride a bicycle?"

Good luck with it.  Don't give up.  Copy the examples. Try stuff.  
If you hit a specific problem, post it here or on the wxPython list,
and you'll probably get a nice answer quicker than Schwazenegger  
punches out California's fiscal crisis.


Al




More information about the Python-list mailing list