grp — UNIX Group Database — PyMOTW 3
Originally posted
· 1 min read
The grp module can be used to read information about UNIX groups from the group database (usually /etc/group ). The read-only interface returns tuple-like objects with named attributes for the standard fields of a group 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.