Handeln Sie die Fensteraktion in PYQT5 Handle Handle Action
app = QApplication(sys.argv)
app.aboutToQuit.connect(myExitHandler) # myExitHandler is a callable
Thoughtless Tapir