how to change the icon of a tkinter window code example
Example: how to change windows icon tkinter
from tkinter import *
root = Tk()
photo = PhotoImage(file = "image.png")
root.iconphoto(False, photo)
from tkinter import *
root = Tk()
photo = PhotoImage(file = "image.png")
root.iconphoto(False, photo)