from PySide2.QtWidgets import QApplication, QLabel
|
|
|
|
app = QApplication([])
|
|
label = QLabel("PySide2 窗口测试 - GUI 正常")
|
|
label.resize(400, 100)
|
|
label.show()
|
|
app.exec_()
|