Return the canonical path of the specified filename, eliminating any symbolic links encountered in the path (if they are supported by the operating system).
os.path.realpath(path, *, strict=False)