WX (一)


import wx

app = wx.PySimpleApp()

frame = wx.Frame(None,-1,'Frame title')
frame.Show()
app = MainLoop()



import wx

app = wx.App()

frame = wx.Frame(None,-1,'Frame title')
frame.Show()
app.MainLoop()