def runSim(): #have to cast the output of this to float and list to convert into a form that sim will take as args inputs = list(getInfo()) inputs = [float(i) for i in inputs] sim(inputs[0], inputs[1], inputs[2], inputs[3], inputs[4], inputs[5], inputs[6], inputs[7])
def simClickListener(self): from Simulation import simulation as sim sim(self)
def simClickListener(self): from Simulation import simulation as sim global simulation simulation = sim(self)