My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Introduction

This is a python module to display network interface status.

This module is originally written by David N. Welton.

Install

 # python setup.py install

Usage

>>> from ifconfig import ifconfig
>>> ifconfig('eth0')
{'hwaddr': '00:13:72:85:e8:fb', 'netmask': '255.255.254.0', 'addr': '10.182.120.78', 'brdaddr': '10.182.121.255'}

Reference

Powered by Google Project Hosting