开发者

windows/python manipulate versioninfo during runtime

开发者 https://www.devze.com 2023-01-12 09:47 出处:网络
I have multiple python processes running in their console output windows. I can set their console title via win32api.SetConsoleTitle(). Thats nice, but it would be even nicer to set some versioninfo s

I have multiple python processes running in their console output windows. I can set their console title via win32api.SetConsoleTitle(). Thats nice, but it would be even nicer to set some versioninfo strings (like 开发者_StackOverflowdescription/company name/version) during runtime as that would allow me to easier differentiate between the (generic) python proceses in the taskmanager/process-explorer.

Has anybody ever done something like that.

thnx, dirkse


Version Information are stored as a resource in the executable. You cannot change them during runtime.

0

精彩评论

暂无评论...
验证码 换一张
取 消