Question:
So, I want to create an icon. I wrote that code and i have this problem. Is there anything missing from the code below?Answer:
As the error says, you didn’t defineroot
what is
root
in root.Tk()
?You can do something like this,
If you have better answer, please add a comment about this, thank you!