I'm trying to use tkinter but this code doesn't work and I'm wondering if anyone knows why thanks.
from tkinter import *
window = Tk()
window.title("tkinter stuff")
photo1 = PhotoImage("file=hs.gif")
Label(window, image=photo1).grid(row=0,column=0,sticky=W)
window.mainloop()
Just to clarify, a window titled 'tkinter stuff' comes up but the image doesn't display. Also, there is a file called 'hs.gif' in the same folder as my code.
Thanks for the help