from PyQt4 import QtGui class Model(QtGui.QWidget): def __init__(self): QtGui.QWidget.__init__(self) print "Start Ngspice Modelling"