R
R
Roma Kotolup2021-12-12 16:01:25
Python
Roma Kotolup, 2021-12-12 16:01:25

How to change tkinter python 3.8.1 icon in taskbar?

How to change tkinter python 3.8.1 icon in taskbar?
For python 3.9 it works:

import ctypes

myappid = 'mycompany.myproduct.subproduct.version' # arbitrary string
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)

But on python 3.8.1 it doesn't.
How to fix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question