from tkinter import *
import tkinter as tk
from tkinter import messagebox
from PIL import Image
master = Tk()
master.geometry('700x400')
master.title('Test')
master["bg"] = "gray22"
def buttonCallback():
messagebox.showinfo("Test", "Test")
button = tk.Button(master, text="Test", command=buttonCallback)
button.grid(row=1, column=0)
img=Image.open('C:\\Users\\Administrator\\AppData\\test.png')
img.show()
master.mainloop()
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\AppData\\test.png'