且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Python,Pyinstaller 在 Windows 中创建快捷方式

更新时间:2023-01-31 11:56:01

如果有人感兴趣,我找到了一种使用 win32com.shell 而不是 win32.client 创建快捷方式的方法.
这适用于 pyinstaller--tk 标志设置为 ON.

If anyone is interested, I found a way of creating shortcuts using win32com.shell rather than win32.client.
This works well with pyinstaller and --tk flag set to ON.