Ikon Python di bilah tugas

import ctypes

aumid = u'CompanyName.ProductName.SubProduct.VersionInformation' # must be unicode
# See https://docs.microsoft.com/en-us/windows/win32/shell/appids for information
# And see https://stackoverflow.com/a/1552105/14586140 for why this works
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(aumid)
dex!?