[top] / posixpath / realpath
realpath(filename)
Return the canonical path of the specified filename, eliminating any symbolic links encountered in the path.