parameters: (*, getters=None)
docstring: Get the hardware address as a 48-bit positive integer.
  
      The first time this runs, it may launch a separate program, which could
      be quite slow.  If all attempts to obtain the hardware address fail, we
      choose a random 48-bit number with its eighth bit set to 1 as recommended
      in RFC 4122.
docstring_summary: Get the hardware address as a 48-bit positive integer.
docstring_tokens: Get the hardware address as a 48 - bit positive integer .
function: def getnode(*, getters=None):
      """Get the hardware address as a 48-bit positive integer.
  
      The first time this runs, it may launch a separate program, which could
      be quite slow.  If all attempts to obtain the hardware address fail, we
      choose a random 48-bit number with its eighth bit set to 1 as recommended
      in RFC 4122.
      """
      global _node
      if _node is not None:
          return _node
  
      if sys.platform == 'win32':
          getters = _NODE_GETTERS_WIN32
      else:
          getters = _NODE_GETTERS_UNIX
  
      for getter in getters + [_random_getnode]:
          try:
              _node = getter()
          except:
              continue
          if (_node is not None) and (0 <= _node < (1 << 48)):
              return _node
      assert False, '_random_getnode() returned invalid value: {}'.format(_node)
function_tokens: def getnode ( * , getters = None ) : global _node if _node is not None : return _node if sys . platform == 'win32' : getters = _NODE_GETTERS_WIN32 else : getters = _NODE_GETTERS_UNIX for getter in getters + [ _random_getnode ] : try : _node = getter ( ) except : continue if ( _node is not None ) and ( 0 <= _node < ( 1 << 48 ) ) : return _node assert False , '_random_getnode() returned invalid value: {}' . format ( _node )