📅  最后修改于: 2022-03-11 14:45:09.836000             🧑  作者: Mango
import ctypes
myappid = 'mycompany.myproduct.subproduct.version' # arbitrary string
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)