import re, sys, traceback from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import ui, phys, file #system = phys.System() system = file.open_system("4.woz") app = QApplication(sys.argv) win = ui.MainWindow(system) win.show() sys.exit(app.exec_())