PyDocs

Nav

Generic Operating System Services

getxattr

os

function
  • getxattr(path, attribute, *, follow_symlinks=True)
Return the value of extended attribute attribute on path.

path may be either a string, a path-like object, or an open file
descriptor.
If follow_symlinks is False, and the last element of the path is
a symbolic link, getxattr will examine the symbolic link itself
instead of the file the link points to.
Changed in 3.6
  • 3.6: Accepts a path-like object for path and attribute.
0 Examples
No examples for os/getxattr.
See Also
No see-alsos for os/getxattr
0 Notes
No notes for getxattr