Enumerating Network Adapters

Diez B. Roggisch deetsNOSPAM at web.de
Sun Aug 29 13:53:38 EDT 2004


> I could process ipconfig or ifconfig outputs, but
> this is OS-dependant and not very future-proof...

This has been discussed quite a few times on this NG, search google groups.
However IMHO there is no general system built-in way (AFAIK not even posix)
for doing this, you'll end up parsing tool output anyway...

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list