python手记(24)

来源:互联网 发布:php打表格 编辑:程序博客网 时间:2024/06/02 01:05
#!/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() 

wxpython学习


原创粉丝点击