Answers for "how to show image using tkinter python"

5

how to add a image in tkinter

from tkinter import *
root=Tk()
img=PhotoImage(file='sunshine.jpg')
Label(root,image=img).pack()
root.mainloop()
Posted by: Guest on August-03-2020

Code answers related to "how to show image using tkinter python"

Python Answers by Framework

Browse Popular Code Answers by Language