mainloop

tkinter mainloop() not ending the script once it completes

tkinter mainloop() not ending the script once it completes Question: For some reason the mainloop() is not ending. The final print statement never gets triggered but everything else does. Any idea what is causing this or how to resolve it? It happens even without the threading. import time from tkinter.filedialog import askdirectory from tkinter import …

Total answers: 3

Continue executing function

Continue executing function Question: When closing an instance of the ChildWindow class, which was called from another instance of MainWindow, the code does not continue to be executed. I noticed that only when the MainWindow instance is closed does it continue to run. In general, it has a cumulative property, so the number of times …

Total answers: 1