Status of os.path.islink() docstring:
Test for symbolic link. On WindowsNT/95 and OS/2 always returns false
On Windows, links end in .lnk for files and folders, so you can create a function to add this extension and check with os.path.isfile() and os.path.isfolder() , for example:
mylink = lambda path: os.path.isfile(path + '.lnk') or os.path.isdir(path + '.lnk')
source share