Maksim Pyatigorsky
Maksim Pyatigorsky

Reputation: 9

How to change Tkinter icon without adding a path

Basically I want to change the tkinter default icon permanently, without adding a path for the new ico file, so if i send the script to another person he could use it with the new icon.. Is it possible?

Upvotes: 0

Views: 303

Answers (1)

imxitiz
imxitiz

Reputation: 3987

While making .exe file you can use

pyinstaller -w --onefile --icon=app.ico app.py

this above command then while sharing also it has app.icon(mean which icon you give that will remain) in your application.

Upvotes: 1

Related Questions