from PyQt5.QtWidgets import QWidget, QApplication from sys import argv app = QApplication(argv) win = QWidget() win.show() app.exec()