import wxclass Frame(wx.Frame): passclass App(wx.App): def OnInit(self): self.frame = Frame(parent=None, title='Spare') self.frame.Show() self.SetTopWindow(self.frame) return Trueapp = App()app.MainLoop()