Create shortcut files in Windows 7 using Python
问题 Is there a simple way to create shortcuts in Windows 7 on Python? I looked it up online but they did not seem that simple. I have tried using this simple method: hi = open("ShortcutFile.lnk", "w") hi.close() Which creates a shortcut file. But how would I edit the link it is connected to. Like the file it would open? Can someone give me a push in the right direction? 回答1: Old, but I would still like to post an answer to help out anyone who might have the same question and in need of a code