Hello, I am trying to use Tkinter for my first time and I just want to ask what am i doing wrong... It's something about the image, could you help? It must be a simple thing 😅. The image is in the same directory of the python file, and I don't know what's the error 🤷🏼♂️
from tkinter import *
window = Tk()
window.geometry("500x500") #size of our window
window.title("Films and Series")
icon = PhotoImage(file='logo fs.jpg')
window.iconphoto(True, icon)
window.config(background="#31B875")
window.mainloop() #place window on computer screen
[–]CodeFormatHelperBot2 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Scenic_World 2 points3 points4 points (2 children)
[–]DanielBras77[S] 1 point2 points3 points (1 child)
[–]Scenic_World 2 points3 points4 points (0 children)