def main(): app = QtGui.QApplication([]) f = open(pc.CSSPATH,"r") s = f.read() f.close() app.setStyleSheet(s) ui = QNodePanel() ui.setGeometry(0,0,600,400) ui.show() sys.exit(app.exec_())