A solution in pyqt could look like this, using QTimer. QtWidgets import QWidget, QCheckBox, QApplication from PyQt5. 4 with PyQt 5 use. sleep 替换为QTimer.
確定! 回上一頁