Getting and/or setting network interface parameters on OS X
Chris Angelico
rosuav at gmail.com
Fri Aug 7 03:26:52 EDT 2015
On Fri, Aug 7, 2015 at 5:10 PM, Shekhar Chandra
<shekharchandra058 at gmail.com> wrote:
> Looking for a Python 2.7 module through which I can fetch the below details for all available network interfaces on a OS X device :
>
> Gateways
> DNS server
> DHCP server
> WINS server
> IP address
> DNS suffix
>
> I also want to set them for a specific interface.
Start here:
https://pypi.python.org/pypi
If that doesn't answer your question, then try looking for a command
you can invoke, which you'd then parse the output of.
ChrisA
More information about the Python-list
mailing list