How would i get my icon working for tkinter

Hey just a quick one, I am trying to use an icon (named RS.ico) in my python project. The line of code I have to use the icon is shown below. I know that to do this with the IDLE, the icon has to be in the same file as the python program, so how would I do this on pycharm? I want to include images in my project too, so any help is appreciated.

home_window.iconbitmap("RS.ico")

2 comments
Comment actions Permalink

It doesn't really seem to be related to PyCharm.
Do you get errors when running that code in PyCharm?

0

Please sign in to leave a comment.