On 11/12/2018 05:55 PM, David Rock wrote: > Is there a requirement to use only what comes in the standard libraries, or > can you use things from pypi? > Getting interface details is exactly why netifaces was created > > https://pypi.org/project/netifaces/
Also if working with NetworkManager is required, nm has a python api: https://pythonhosted.org/python-networkmanager/ Grepping command-line tools is a time-honored unix tradition, but it can be fragile. -- https://mail.python.org/mailman/listinfo/python-list