If someone worked with PyQT msg = QtWidgets.QMessageBox() msg.setText
I'm trying PyQt first time If someone worked with PyQT
msg = QtWidgets.QMessageBox()
msg.setText("Error")
msg.show()
The window is shown and disappears after 0.00001 seconds. What could be?