PyMOTW: pwd
Originally posted
· 1 min read
The pwd
module can be used to read user information from the Unix password database (usually /etc/passwd
). The read-only interface returns tuple-like objects with named attributes for the standard fields of a password record.