Getting Local MAC Address

danmcleran at danmcleran at
Fri Apr 2 22:52:42 CEST 2010

On Apr 2, 2:14 pm, Booter <colo.av... at> wrote:
> Hello all,
> I am new to python ans was wondering if there was a way to get the mac
> address from the local NIC?
> Thanks for your help.
> Gerad

for windows parse

import subprocess

p = subprocess.Popen('ipconfig', shell = True, stdout =



More information about the Python-list mailing list