Sometimes you need to determine the target of a symlink. os.readlink will do this:
os.readlink
print(os.readlink(path_to_symlink))