wxPython second
import wx
class Frame(wx.Frame):
pass
class App(wx.App):
def OnInit(self):
self.frame=Frame(parent=None,title='Spare')
self.frame.Show()
self.SetTopWindow(self.frame)
return True
app=App()
app.MainLoop()

浙公网安备 33010602011771号