def get_html_help_exe():
 if (os.name == 'nt'):
  hhc_base = 'C:\\Program Files%s\\HTML Help Workshop\\hhc.exe'
  for hhc_exe in ((hhc_base % ''), (hhc_base % ' (x86)')):
   if osp.isfile(hhc_exe):
    return hhc_exe
  else:
   return

def get_html_help_exe ( ) : if ( os . name == 'nt' ) : hhc_base = 'C:\\Program Files%s\\HTML Help Workshop\\hhc.exe' for hhc_exe in ( ( hhc_base % '' ) , ( hhc_base % ' (x86)' ) ) : if osp . isfile ( hhc_exe ) : return hhc_exe else : return
return html help workshop executable path .