How to get my MAC address with python ?

Tim Golden tim.golden at viacom-outdoor.co.uk
Mon Feb 2 11:18:08 EST 2004


>From: olivier Ravard [mailto:ravard at univ-rennes1.fr]
>Hi,
>
>I want to know the MAC address of my local network card with a python 
>script.
>I tested the socket module which gives only the IP address.
>Is someone have an idea ?
>
>Thanks.
>
>O.R.

http://tgolden.sc.sabren.com/python/wmi_cookbook.html#ip_addresses

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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