Studying python 3 (and tkinter ), you need to implement the following thought:
you need to display a picture or some inscription in the window while I have some calculations for some time, then you need to close this window. Example:
from tkinter import * root = Tk() Label(text='Please wait').pack() # здесь выполняется некий цикл от 5 до 30 сек ... root.mainloop() Tell me how to do it right!