Jan-27-2021, 05:41 AM
Just wondering what I am doing wrong. I have a photo named overlander_sports.jpg in the newb folder which is the name of the project. I can't seem to get it as a background.
from tkinter import * import datetime from tkinter import messagebox root = Tk() #Date and Time C = Canvas(root, bg="blue", height=250, width=300) filename = PhotoImage(file="C:\\Users\\blake\PycharmProjects\\newb\\overlander_sports.jpg") background_label = Label(root, image=overlander_sports.jpg) background_label.place(x=0, y=0, relwidth=1, relheight=1) C.pack()