On 4 September 2012 02:57, Garry Willgoose <garry.willgo...@newcastle.edu.au > wrote:
> I want to put a shortcut onto the desktop in windows (XP and later) in > Python 2.6 or later. In Unix its easy using os.symlink but I can't find > anything equivalent for windows. My searches on the web led me to the code > below but the code returns the error > > AttributeError: function 'CreateSymbolicLinkW' not found > > so does anybody have any suggestions? > Are you really trying to create a symbolic link? Note that this is not the same thing as a 'shortcut' in Windows. If you say why you want the shortcut someone may be able to help you find another way of doing what you want. Oscar
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor