def _unixdll_getnode():
 _buffer = ctypes.create_string_buffer(16)
 _uuid_generate_time(_buffer)
 return UUID(bytes=_buffer.raw).node

def _unixdll_getnode ( ) : _buffer = ctypes . create_string_buffer ( 16 ) _uuid_generate_time ( _buffer ) return UUID ( bytes = _buffer . raw ) . node
get the hardware address on unix using ctypes .