os.Path.isLink

Checks if a file is UNIX™ symbolic link.

Syntax

  1. fname is the file name.

Usage

The function returns TRUE if the files is a symbolic link, FALSE otherwise.

This method can only be used on UNIX!