• Notus(hehe_xiao@qq.com)
  • Create: 2019-02-08
  • Update: 2019-02-12

环境

操作系统: macOS Mojave, version 10.14.1
Python Version: 3.6.4
PyQt5 Version: 5.11.3
Qt Creator Version: 4.8.1

代码如下

import sys
from PyQt5 import QtWidgets, QtCore

app = QtWidgets.QApplication(sys.argv)
widget = QtWidgets.QWidget()
widget.resize(360, 360)
widget.setWindowTitle("Hello, Leo")
widget.show()
sys.exit(app.exec_())

运行结果

每日一程-1. PyQt5 安装测试程序

相关文章:

  • 2021-11-17
  • 2021-05-05
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-24
  • 2021-08-01
  • 2021-11-24
  • 2021-11-30
  • 2022-12-23
相关资源
相似解决方案