gui programming iii ifin that functionyou want to change something on the screenpause for short whileand then change something elseyou will need to tell tkinter to update the screen before the pause to do thatjust use thisroot update(if you only want to update certain widgetand nothing elseyou can use the update method of that widget for examplecanvas update( related thing that is occasionally useful is to have something happen after scheduled time interval for instanceyou might have timer in your program for thisyou can use the after method its first argument is the time in milliseconds to wait before updating and the second argument is the function to call when the time is right here is an example that implements timerfrom time import time from tkinter import def update_timer()time_left int( (time()-start)minutes time_left / seconds time_left time_label configure(text'{}:{: dformat(minutesseconds)root after( update_timerroot tk(time_label label(time_label grid(row= column= start time(update_timer(mainloop(this example uses the time modulewhich is covered in section dialogs many programs have dialog boxes that allow the user to pick file to open or to save file to use them in tkinterwe need the following import statementfrom tkinter filedialog import tkinter dialogs usually look like the ones that are native to the operating system