[Tutor] How to get MAC address using Python at windows 7

Steven D'Aprano steve at pearwood.info
Fri Sep 7 02:37:22 CEST 2012


On 06/09/12 23:44, bob gailer wrote:
> On 8/18/2012 10:12 AM, šãñ wrote:
>>
>> I need to find some way how i can get mac address of windows 7 in python.
> Windows 7 does not have a MAC address. It is an operating system.
>
> Ethernet adapters have MAC addresses. Your computer will have one or more
>Ethernet adapter.

Just to be pedantic, your computer will have ZERO or more Ethernet adapters.
Although if you are receiving email and getting on the Internet on your
computer, it must have at least one.



-- 
Steven


More information about the Tutor mailing list