Prev: Is it possible to store data in a Python file in a way similar to Ruby's __END__ section?
Next: Is it possible to store data in a Python file in a way similarto Ruby's __END__ section?
From: Booter on 5 Apr 2010 12:07 All, Thanks for all of the great solutions! Sorry I wasn't more specific in my post and will keep that in mind for future posts. Just FYI I was using a Windows machine and running Python 2.6. Once again thanks for all of your help! Gerad
From: Lawrence D'Oliveiro on 6 Apr 2010 03:34 In message <ec6d247c-a6b0-4f33-a36b-1d33eace642f(a)k19g2000yqn.googlegroups.com>, 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?
From: Rebelo on 7 Apr 2010 03:32
Lawrence D'Oliveiro wrote: > In message > <ec6d247c-a6b0-4f33-a36b-1d33eace642f(a)k19g2000yqn.googlegroups.com>, 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 : http://pypi.python.org/pypi/netifaces/0.3 I use them on both Windows and Linux |