I\'m having trouble with a function that shows an image for two seconds on screen, and then is destroyed. When the program runs the functions initial call procedurely works
Maybe not for this exact case, but for a similar one, I found that the customary
if __name__ == '__main__': wlcm_scrn() #Call through procedure.
solves the problem as well. This seems to kill the active window and to create a new one each time you re-call the same module.