Tidur Python Pyqt5

loop = QEventLoop()
QTimer.singleShot(2000, loop.quit)
loop.exec_()
Motionless Moose