tkinter doesn't open image via function
问题 Tkinter doesn't open the image. We can ask the opening incorrectly, we need help. I need it to open the image through the menu. be sure to use pil, as the image can be anything. There are no errors in the syntax. Thank you = ) from tkinter import Tk, Frame, Menu, Canvas, PhotoImage import easygui from PIL import Image, ImageFilter, ImageTk def input_file(): a = easygui.fileopenbox(filetypes=["*.jpg"]) original = Image.open(a) original = original.resize((799, 799), Image.ANTIALIAS) photoimg =