Getting Local MAC Address

Rebelo puntabluda at
Wed Apr 7 03:32:01 EDT 2010

Lawrence D'Oliveiro wrote:
> In message
> <ec6d247c-a6b0-4f33-a36b-1d33eace642f at>, Booter 
> wrote:
>> I am new to python ans was wondering if there was a way to get the mac
>> address from the local NIC?
> What if you have more than one?

you can try with netifaces :
I use them on both Windows and Linux

More information about the Python-list mailing list