Determining Ethernet HW Address
erno at iki.fi
Wed Mar 29 00:30:54 CEST 2000
>>>>> "Jerome" == Jerome Chan <eviltofu at rocketmail.com> writes:
Jerome> I've need the ethernet hw address given an IP and the
Jerome> Python code runs on Win32 and Linux... so...
there is no portable way of getting it even in C. i guess your best
bet would be parsing ifconfig output... but that too varies
between operating systems.
if you decide to write a module that knows how to do this on many
platforms, send me a copy :)
More information about the Python-list