change window icon tkinter-python

preview_player
Показать описание
Change window icon in tkinter(python)
please follow this channel🙂
Рекомендации по теме
Комментарии
Автор

Picture format must be '.png ' or 'jif' or others.
'.jpg' will show error

programmerhouse
Автор

from tkinter import*
root=Tk()
img.PhotoImage(file='UR ICON HERE')
root.iconphoto(False, img)
root.mainloop()

teejayx
Автор

You don't even know how much this helped me thanks a lot. you got my like and sub for that one.

somewhiteguy
Автор

You save me, love it, this works very well.

david
Автор

Thanks Dude!! It helped a lot, i was trying to figure out since couple of hours.

surbhisingh
Автор

That's amazing, thank you so much!

Robot_Skull
Автор

I have an question? How can i change icon in taskbar?

RomansSonniks
Автор

Thank you, this helped my code works.

originalni_popisovac
Автор

thanks man i searched that 1 h
i liked it and sub

diasbatyrbek
Автор

Can I change the icon in turtle_ _project with the same steps?

haithemkaili
Автор

i guess i have to change my way of coding tkinter, oh god

NickEhVSFanFNFMod
Автор

would you happen to know how I can change the size of the icon?

WallEdohh
Автор

bro i got this error

pls help

"tkinter.TclError: couldn't open no such file or directory"

Jenik
Автор

Guys don't put "PhotoImage", type tk.PhotoImage

HammyXD-uc