An Intro to StaticBox and StaticBoxSizers
See the original posting on DZone Python
There are many widgets that are included with the wxPython GUI toolkit. One of them is a fairly handy widget called wx.StaticBox. This widget accepts a string and then will draw a box with the string in the upper left-hand corner of the box. However, this only works when you use it in conjunction with wx.StaticBoxSizer.
Here is an example of what one might look like: