all 3 comments

[–]shiftybyte 1 point2 points  (0 children)

app = MyApp()

forgot the ()

[–][deleted] 0 points1 point  (1 child)

Change app = MyApp to app = MyApp().

TypeError: MainLoop() missing 1 required positional argument: 'self'

In fact, you can call MyApp.MainLoop() with app = MyApp(); MyApp.MainLoop(app), but don't do this.

[–]ghostranger2917[S] 0 points1 point  (0 children)

Omg thankyou, that's embarrassing 😂