app.py 264 B

123456789
  1. from PyQt5.QtWidgets import QApplication
  2. from form.win import Win
  3. class App(QApplication):
  4. def __init__(self):
  5. super(App,self).__init__([]) #调用父类构造器,完成初始化
  6. self.__init__
  7. self.win = Win()
  8. self.win.show()