import re, sys, traceback from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import ui, phys, io system = phys.System() class Window(QMainWindow): def __init__(self): super().__init__() self.statusBar() self.setWindowTitle("Polarizzazione italiana") ui.setup(self, system) app = QApplication(sys.argv) win = Window() sys.exit(app.exec_())