how to add jpg files in the tkinter butoon code example
Example 1: how to add a image in tkinter
from tkinter import *
root=Tk()
img=PhotoImage(file='sunshine.jpg')
Label(root,image=img).pack()
root.mainloop()
Example 2: image in tkinter
pip install pillow