def _ListAllHelpFilesInRoot(root):
 import regutil
 retList = []
 try:
  key = win32api.RegOpenKey(root, (regutil.BuildDefaultPythonKey() + '\\Help'), 0, win32con.KEY_READ)
 except win32api.error as exc:
  import winerror
  if (exc.winerror != winerror.ERROR_FILE_NOT_FOUND):
   raise
  return retList
 try:
  keyNo = 0
  while 1:
   try:
    helpDesc = win32api.RegEnumKey(key, keyNo)
    helpFile = win32api.RegQueryValue(key, helpDesc)
    retList.append((helpDesc, helpFile))
    keyNo = (keyNo + 1)
   except win32api.error as exc:
    import winerror
    if (exc.winerror != winerror.ERROR_NO_MORE_ITEMS):
     raise
    break
 finally:
  win32api.RegCloseKey(key)
 return retList

def _ListAllHelpFilesInRoot ( root ) : import regutil retList = [ ] try : key = win32api . RegOpenKey ( root , ( regutil . BuildDefaultPythonKey ( ) + '\\Help' ) , 0 , win32con . KEY_READ ) except win32api . error as exc : import winerror if ( exc . winerror != winerror . ERROR_FILE_NOT_FOUND ) : raise return retList try : keyNo = 0 while 1 : try : helpDesc = win32api . RegEnumKey ( key , keyNo ) helpFile = win32api . RegQueryValue ( key , helpDesc ) retList . append ( ( helpDesc , helpFile ) ) keyNo = ( keyNo + 1 ) except win32api . error as exc : import winerror if ( exc . winerror != winerror . ERROR_NO_MORE_ITEMS ) : raise break finally : win32api . RegCloseKey ( key ) return retList
returns a list of for all registered help files .