main.py 265 B

123456789
  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("程序正常终止")