Answers for "how to add a image path in a txt file and add the image in tkinter python"

2

how to place image in tkinter

import tkinter 
from PIL import Image, ImageTk

load= Image.open("/Users/omprakash/Desktop/Gmail-new-logo.jpg")
render = ImageTk.PhotoImage(load)
img = Label(root, image=render)
img.place(x=100, y=100)
Posted by: Guest on January-11-2021

Code answers related to "how to add a image path in a txt file and add the image in tkinter python"

Python Answers by Framework

Browse Popular Code Answers by Language