Guys, below is a part of an Object description in an application I am trying to code. I am using Tkinter for GUI. The Tkwindow hangs as soon as the "print self.gs" instruction is executed. Can it be rectified?
Any help will be appreciated
def while_time(self): pass def gameplay(self): self.gs=self.get_schedule()#Schedule the games print self.gs self.gen_window() for game in self.gs: if self.chosen_team==TEAMS[game] or self.chosen_team==TEAMS[game]: while(self.play_click==0): self.while_time() winner=self.sim_match(game) self.post_match(game, winner) self.play_click=0 else: winner=self.sim_match(game) self.post_match(game, winner)