第一个 PyQt5 程序
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_())
原文地址:https://www.cnblogs.com/leo1875/p/10355810.html
时间: 2024-10-29 21:38:54