Determining Ethernet HW Address
Erno Kuusela
erno at iki.fi
Tue Mar 28 17:30:54 EST 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 :)
-- erno
More information about the Python-list
mailing list