rendered paste bodyapp.py:# -*- coding: iso-8859-1 -*-import sys, os, os.pathimport wxfrom wx import xrcclass App(wx.App): def OnInit(self): res = xrc.XmlResource('test.xrc') myframe = res.LoadFrame(None, 'frame_1') myframe.Show() return 1def main(): application = App(0) application.MainLoop()if __name__ == '__main__': main()test.xrc<?xml version="1.0" encoding="ISO-8859-1"?><!-- generated by wxGlade 0.5 on Thu May 31 11:49:41 2007 from C:\cygwin\home\100681\rep\trunk\test\automation\test\test.wxg --><resource version="2.3.0.1"> <object class="wxFrame" name="frame_1"> <style>wxDEFAULT_FRAME_STYLE</style> <title>frame_1</title> </object></resource>