How to use "Resource Editor" in wxPython ?

kyosohma at kyosohma at
Fri Aug 31 15:46:25 CEST 2007

On Aug 31, 7:49 am, codemania <codema... at> wrote:
> Disappointing me extremely, with the "generate python" function within
> Resource Editor, I only get a segment of python code which load
> xrc(xml format) file, rather than real python code in which I could
> append my own code.
> Does that mean RE(Resource Editor) is of little use?
> I hope not, maybe the way I use it is wrong? Tell me please.

You can use the code generated with your wxPython code; but when using
XRCed, you need to do two-stage creation, which the generated code
mentions. It even provides a link:

I thought this one was good reading too:

I like it depending on the complexity of the project. It can seriously
reduce GUI code clutter.


More information about the Python-list mailing list