[Tutor] Unix uid numbers

Marilyn Davis marilyn at deliberate.com
Sat Feb 21 20:38:08 EST 2004


On Sat, 21 Feb 2004, Gus Tabares wrote:

> On Saturday 21 February 2004 13:54, Gus Tabares wrote:
> > Hey all,
> >
> > I was wondering if there was a function (or module) that would return the
> > Unix username when handed the UID. I'm pretty sure there is one, I just
> > can't seem to find it.
> >
> 
> OK nevermind that.  The module I was looking for is 'pwd' and the function is 
> getpwuid(uid), incase anyone else was wondering:)
> 

Thank you, I was.

Marilyn

>  
> Gus Tabares
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 




More information about the Tutor mailing list