How to set .ico icon file by iconbitmap in tkinter in python 3.8 on ubuntu

I am new to tkinter8.6 and i am using ubuntu20.04 lts, I have installed pillow 9.0,

root.title("Learn code for Iconbitmap") root.iconbitmap("current folder/1_3.ico")

even however i tried to show icon file in ico,png,xbm format, it doesn't show the icon. please anyone resolve this problem. I have the same problem in photoimage.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like