pwd — UNIX Password Database — PyMOTW 3
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.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.