mac address

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu Sep 7 18:01:47 CEST 2006


| Is it possible to get the mac address of a device 
| with python 2.4 using code which works in wxp and linux 
| rather than requiring some code for windows and some
| other code for linux ?

I'm fairly sure the answer's no. It wouldn't be beyond
the wit of man to produce a library with conditional
imports or checks against the sys.platform etc. which
did sensible things. If you Google the archives for this
group you'll see similar questions a few times in the
past, so maybe there are some starting points for you
there. (On Win32 I'd use WMI, but that's just because...)

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list