The uuid module uses getnode() to retrieve the MAC value on a given system: import uuid print hex(uuid.getnode()). $ python uuid_getnode.py 0x70cd60f2c980.
確定! 回上一頁