There are hundreds of questions involving a while True: loop in Tkinter (which of course crashes it, because it never executes the mainloop() (see here and here for two of hundreds of examples)). The obvious (and so far only) answers require a function of some sorts.
My question is: is there any way to have something similar to a while True: loop in Tkinter that doesn't crash, without using a function? I didn't find any questions like this.