Hey ich hab eine Frage bezüglich meines Codes in python. Egal was ich auch mache ich bekomme beim Versuch ein Bild zu meinem Button ein Bild hinzuzufügen den TypeError: 'Button' object is Not callable. Wäre nett wenn mir jemand weiterhelfen könnte. Vielen Dank!
window = tk.Tk()
window.geometry('800x400')
CloseButton1= tk.Button(window, command=window.quit)
Bild = tk.PhotoImage(file=(r"C:\Users\Joni\Downloads\Py Neu\CloseLogo.gif"), master=CloseButton1)
bConf = CloseButton1 (CloseButton1, border=1, image=Bild)
bConf.pack(side="top", padx=6, pady=6)