app.py 320 B

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