编程语言-Python-GUI
PyQt5
import sys from PyQt5 import QtWidgets,QtCore app = QtWidgets.QApplication(sys.argv) widget = QtWidgets.QWidget() widget.resize(400, 100) widget.setWindowTitle("Test") widget.show() exit(app.exec_())
PyQt5
import sys from PyQt5 import QtWidgets,QtCore app = QtWidgets.QApplication(sys.argv) widget = QtWidgets.QWidget() widget.resize(400, 100) widget.setWindowTitle("Test") widget.show() exit(app.exec_())