from PyQt5 import QtWidgets from mainwindow import MainWindow def main(): """Main""" app = QtWidgets.QApplication([]) main_window = MainWindow() main_window.show() return app.exec() if __name__ == '__main__': main()