Jan-27-2021, 07:12 PM
(This post was last modified: Jan-27-2021, 07:12 PM by steve_shambles.)
change the background_label line to reference the "filename" variable
that you set in previous line.
background_label = Label(root, image=filename)
Also you can't read a jpg file with this method
you would need to use the Pillow add-on,
But you can still read in a gif or png with this code.
that you set in previous line.
background_label = Label(root, image=filename)
Also you can't read a jpg file with this method
you would need to use the Pillow add-on,
But you can still read in a gif or png with this code.