I have three separate GUIs that I wrote using wxpython.
def __init__(self, app):
self.gui1= Gui1(None)
self.gui1.Show()
self.gui2= Gui2(None)
self.gui2.Show()
self.run_game()
def run_game(self):
for i in range(0, 100):
time.sleep(0.5)
self.gui1.method1()
self.gui2.method1()
if __name__ == '__main__':
app = wx.App(False)
controller = Controller(app)
app.MainLoop()
However, when I run this code, the GUIs don't display and appear to "freeze." Could someone please help with this?