#!/usr/bin/env python
"""hello.py is a starting point for a wxPython program."""
import wx
class Frame(wx.Frame):
pass
class App(wx.App):
def OnInit(self):
self.frame = Frame(parent=None, title='hello')
self.frame.Show()
self.SetTopWindow(self.frame)
return True
if __name__ == '__main__':
app = App()
app.MainLoop()
python手记(24)
最新推荐文章于 2022-04-28 21:50:49 发布