# -*- coding: utf-8 -*-
"""
Created on Wed Dec 26 18:07:12 2018
QQ群:476842922(欢迎加群讨论学习
@author: Administrator
"""

import wx

class App(wx.App):#子类化wxPython应用程序类

    def OnInit(self):#定义一个应用程序的初始化方法
        frame = wx.Frame(parent=None, title='Bare')#实例化框架
        frame.Show()#显示
        return True

app = App()#创建一个应用程序类的实例
app.MainLoop()#进入这个应用程序的主事件循环

wxPythonONE1完全解析

相关文章:

  • 2022-01-06
  • 2021-04-19
  • 2022-01-21
  • 2021-10-11
  • 2021-11-05
  • 2021-12-29
  • 2021-05-22
  • 2021-04-12
猜你喜欢
  • 2022-01-07
  • 2021-05-26
  • 2021-08-02
  • 2021-07-02
  • 2022-01-16
  • 2021-08-28
相关资源
相似解决方案