def __init__(self, testing): super().__init__() self.setupUi(self) self.backk = MainBody.MainWindow(self) self.pushButton_1.pressed.connect(self.exitt) self.showScore(testing)