Я пробовал:
Код: Выделить всё
# Importing customtkinter as ctk
import customtkinter as ctk
# Creating the root window
root = ctk.CTk()
# Creating the root's title
root.title('test')
# Setting window icon
root.iconbitmap('C\MyDirecory\MyFolder\favicon.ico')
# How can I set the taskbar icon?
Подробнее здесь: https://stackoverflow.com/questions/751 ... tomtkinter