def cleanup(self): self.player1 = self.e1.get() self.player2 = self.e2.get() self.player3 = self.e3.get() self.player4 = self.e4.get() self.players = [self.player1, self.player2, self.player3, self.player4] D.setup(self.players) self.top.destroy()
def setup(self): D.setup()