app = QApplication(sys.argv) w = MainWindow() w.show() app.exec_() If you run this, clicking on the button will show the window as before.
確定! 回上一頁