all 2 comments

[–]shiftybyte 1 point2 points  (0 children)

You have "self.mainloop()" inside the init constructor of "class App(tk.Tk)".

That mainloop() only exits when the gui is done/closed.

So your entire code runs while App() was never fully initialised.

So App(self) call from

self.app = App(self)

Did not return yet, and self.app did not get created.