main.py 264 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("程序正常终止")