from tkinter import *
root = Tk()
photo = PhotoImage(file="P:\Python\GWlogo.gif") # specify the path to your file
label = Label(root, image=photo)  #put the image in a label to disdaply it in the window
label.pack()  # show the label on the screen
root.mainloop() # Create an event loop to display the window
22c35e133bad54f1b70c250e663c5582ec36c00f
<mask token>

<mask token>
label.pack()
root.mainloop()

<mask token>
root = Tk()
photo = PhotoImage(file='P:\\Python\\GWlogo.gif')
label = Label(root, image=photo)
label.pack()
root.mainloop()

from tkinter import *
root = Tk()
photo = PhotoImage(file='P:\\Python\\GWlogo.gif')
label = Label(root, image=photo)
label.pack()
root.mainloop()

from tkinter import *
root = Tk()
photo = PhotoImage(file="P:\Python\GWlogo.gif") # specify the path to your file
label = Label(root, image=photo)  #put the image in a label to disdaply it in the window
label.pack()  # show the label on the screen
root.mainloop() # Create an event loop to display the window