def GetRegisteredNamedPath(name):
 keyStr = (BuildDefaultPythonKey() + '\\PythonPath')
 if name:
  keyStr = ((keyStr + '\\') + name)
 try:
  return win32api.RegQueryValue(GetRootKey(), keyStr)
 except win32api.error as exc:
  import winerror
  if (exc.winerror != winerror.ERROR_FILE_NOT_FOUND):
   raise
  return None

def GetRegisteredNamedPath ( name ) : keyStr = ( BuildDefaultPythonKey ( ) + '\\PythonPath' ) if name : keyStr = ( ( keyStr + '\\' ) + name ) try : return win32api . RegQueryValue ( GetRootKey ( ) , keyStr ) except win32api . error as exc : import winerror if ( exc . winerror != winerror . ERROR_FILE_NOT_FOUND ) : raise return None
get a registered named path .