PyDocs

Nav

File and Directory Access

Path.owner

pathlib

method of Path (source)
  • Path.owner(*, follow_symlinks=True)
Return the login name of the file owner.
Changed in 3.13
  • 3.13: Raises UnsupportedOperation if the pwd module is not available. In earlier versions, NotImplementedError was raised.
  • 3.13: The follow_symlinks parameter was added.
0 Examples
No examples for pathlib/Path.owner.
See Also
No see-alsos for pathlib/Path.owner
0 Notes
No notes for Path.owner