from tkinter import * root=Tk() img=PhotoImage(file='sunshine.jpg') Label(root,image=img).pack() root.mainloop()

Read more of this post