ID EN
Pathlib

owner

Python 3.11

Return the name of the user owning the file. KeyError is raised if the file’s uid isn’t found in the system database.

Syntax

PYTHON
Path.owner()

See Also

KeyError