On 1/19/07, Steve Nelson <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I want to produce stats on file ownership.  I am aware that I can use
> stat to obtain a file statistics tuple, and with the pwd method I can
> convert the UID to username.  However, is there a similar method that
> will tell me that GID 1 == "staff"?

Hrm... and an inspired guess.... import grp.... is what I needed.

> S.

S.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to