def getnode():
 global _node
 if (_node is not None):
  return _node
 import sys
 if (sys.platform == 'win32'):
  getters = [_windll_getnode, _netbios_getnode, _ipconfig_getnode]
 else:
  getters = [_unixdll_getnode, _ifconfig_getnode]
 for getter in (getters + [_random_getnode]):
  try:
   _node = getter()
  except:
   continue
  if (_node is not None):
   return _node

def getnode ( ) : global _node if ( _node is not None ) : return _node import sys if ( sys . platform == 'win32' ) : getters = [ _windll_getnode , _netbios_getnode , _ipconfig_getnode ] else : getters = [ _unixdll_getnode , _ifconfig_getnode ] for getter in ( getters + [ _random_getnode ] ) : try : _node = getter ( ) except : continue if ( _node is not None ) : return _node
get the hardware address as a 48-bit positive integer .