from PyQt5.QtWidgets import QApplication from window_qt import MainWindow app = QApplication([]) window = MainWindow() app.exec_()