1、简单的窗口
import wx
class MyApp(wx.App):
def OnInit(self):
frame=wx.Frame(parent=None,id=-1,title="hello")
frame.Show()
return True
if __name__=='__main__':
app=MyApp()
app.MainLoop()
1、简单的窗口
import wx
class MyApp(wx.App):
def OnInit(self):
frame=wx.Frame(parent=None,id=-1,title="hello")
frame.Show()
return True
if __name__=='__main__':
app=MyApp()
app.MainLoop()