"Andriy Kornatskyy" <andriy.kornats...@live.com> wrote in message news:mailman.5329.1389450993.18130.python-l...@python.org... > Sam, > > How about this? > > from uuid import getnode as get_mac > '%012x' % get_mac()
AIUI that will return a mac address even if there isn't one. That may or may not suit the OP. To the OP, depending on what you want to do remember that a machine can have more than one mac address and that a mac address can differ from the burned-in address (BIA) as some cards allow the effective mac address to be changed in software. So it's possible that two machines could show the same mac address. James -- https://mail.python.org/mailman/listinfo/python-list