(filename, *, strict=False)
return abspath(path)
Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path.
Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path.
Return the canonical path of the specified filename eliminating any symbolic links encountered in the path .
def realpath(filename, *, strict=False):
    """Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path."""
    filename = os.fspath(filename)
    path, ok = _joinrealpath(filename[:0], filename, strict, {})
    return abspath(path)
def realpath ( filename , * , strict = False ) : filename = os . fspath ( filename ) path , ok = _joinrealpath ( filename [ : 0 ] , filename , strict , { } ) return abspath ( path )