Answers for "tkinter create_image"

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
12

image in tkinter

pip install Pillow
Posted by: Guest on May-10-2020

Browse Popular Code Answers by Language