main.py 211 B

12345678910
  1. import PyQt5.QtCore
  2. from frame.app import App
  3. PyQt5.QtCore.QCoreApplication.setAttribute(PyQt5.QtCore.Qt.AA_EnableHighDpiScaling)
  4. app = App()
  5. app.exec() #消息循环阻塞函数
  6. print("程序正常终止")