Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add a image in tkinter

from tkinter import *
root=Tk()
img=PhotoImage(file='sunshine.jpg')
Label(root,image=img).pack()
root.mainloop()
 
PREVIOUS NEXT
Tagged: #add #image #tkinter
ADD COMMENT
Topic
Name
5+7 =