def equalclicked(self, widget): m = tb.get_text() m = str(op.calc(m)) tb.set_text(m) self.turn = True
def equalclicked(self,widget): m=tb.get_text() m=str(op.calc(m)) tb.set_text(m) self.turn=True