Mar-29-2023, 07:13 PM
(Mar-24-2023, 05:35 PM)deanhystad Wrote: See response in the other place you posted this code. The short answer is that GUI code is not written the same way as a script. You need to create your window and start the event loop (call mainloop()). Nothing appears to happen before you call mainloop() because mainloop() is responsible for updating windows.
done
I moved the windows opening just to the beginning and the codes does the same thing