function n = get_owner(file)

n = "";

if stdlib.strempty(file)
  return
end

try
  n = string(py.pathlib.Path(file).owner());
catch e
  pythonException(e)
end

end