#___________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL __________
#......................... PYTHON PROGRAM TO ADD AND INSERT IMAGE ....................
from tkinter import *
from PIL import ImageTk,Image
window =Tk()
# MAIN WINDOW TITLE
window.title('COMPUTER SOFT SKILLS_ADD IMAGE')
#MAIN WINDOW SIZE
window.geometry("600x600")
# IMAGE ADDRESS AND LINK TO PYTHON WINDOW
img = ImageTk.PhotoImage(Image.open("D:\\python\\image\\gitar.jpg"))
label = Label (window ,image = img)
label.pack()
window.mainloop()
0 Comments