if __name__ == '__main__':
- import sys
- app = wxPySimpleApp()
- frame = wxFrame(None, -1, "Tester...", size=(640, 480))
- win = runTest(frame, frame, sys.stdout)
- frame.Show(true)
- app.MainLoop()
-
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])