Here in this blog we are going to make a window with the image attached in it. So this type of procedure is done by this coding which has been shown below:- from tkinter import * root = Tk () root . geometry ( "900x450" ) pici = PhotoImage ( file = "hit.png" ) pici_label = Label ( root , image = pici ) pici_label .image= pici pici_label . pack () root . mainloop () So this is the particularly attached file according to the coding means this is the hit.png