from tkinter import *
import time
root = Tk()
class Cycle(Frame):
def __init__(self):
Frame.__init__(self)
self.master.title("Cycle")
self.grid()
self.__pic1 = PhotoImage(file = "Bar.png")
self.__pic2 = PhotoImage(file = "bell.gif")
self.__pic1Label = Label(image = self.__pic1)
self.__pic2Label = Label(image = self.__pic2)
self.__pic1Label.grid(row=0, column=0)
time.sleep(1)
self.__pic2Label.grid(row=0, column=0)
Cycle()
Instead of displaying the first image, waiting a second, and displaying the second image over the first one, it waits a second and then the box pops up and displays both at the same time.