mac-adress with python (windows)
Marcus Stojek
stojek at part-gmbh.de
Wed Apr 10 15:47:38 EDT 2002
Hi,
following some links from this and other groups I had to
fight through pages and pages of C code and loooong
threads. Then I found the following example in my
win32com docu:
>>>import pythoncom
>>>print pythoncom.CreateGuid()
<iid:{ECD43800-4CB9-11D6-ABD9-0050DA4545E7}>
with the last six bytes being the ethernet card ID.
Can anybody tell me if this works for all Window versions?
(I can only test for Win NT 4 SP6)
Thanks,
Marcus
More information about the Python-list
mailing list