import main mainApp = main.MainMenu() mainApp.openMenu()
def OnClose(self): global keepPlaying self.keepPlaying = FALSE self.root.destroy() self.app = main.MainMenu() self.app.openMenu()
def ExitToMenu(self): global keepPlaying self.keepPlaying = False self.root.destroy() self.app = main.MainMenu() self.app.openMenu()