MAC address
Gerhard Häring
gerhard at bigfoot.de
Mon May 20 19:24:45 EDT 2002
Ragu Bharadwaj wrote in comp.lang.python:
> Hi Guys,
> Is there a way in Python to obtain a MAC address for another
> computer on the network?
I'd just use os.popen to interface the respective command line utility
for your OS (it's called 'arp' on Windows, Linux, FreeBSD).
Gerhard
--
public key fingerprint: 3FCC 8700 3012 0A9E B0C9 3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
More information about the Python-list
mailing list