Python/pyqt5/CODE/qt04x範例程式/qt402_FirstPyQt.py
2024-06-27 15:41:10 +08:00

19 lines
294 B
Python

# -*- coding: UTF-8 -*-
"""
【簡介】
"""
import sys
from PyQt5.QtWidgets import QApplication, QWidget
app = QApplication(sys.argv)
window = QWidget()
window.resize(300, 200)
window.move(250, 150)
window.setWindowTitle('Hello PyQt5')
window.show()
sys.exit(app.exec_())