grp — UNIX Group Database — PyMOTW 3

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.

Read more…

This post is part of the Python Module of the Week series for Python 3. See for more articles from the series.