from PyQt5.QtWidgets import QApplication from frame.win import Win class App(QApplication): def __init__(self): super(App, self).__init__([]) self.win = Win() self.win.show()