code: def teehtml(table, source=None, encoding=None, errors='strict', caption=None,
              vrepr=text_type, lineterminator='\n', index_header=False,
              tr_style=None, td_styles=None, truncate=None):
      
  
      source = write_source_from_arg(source)
      return TeeHTMLView(table, source=source, encoding=encoding, errors=errors,
                         caption=caption, vrepr=vrepr,
                         lineterminator=lineterminator, index_header=index_header,
                         tr_style=tr_style, td_styles=td_styles,
                         truncate=truncate)
docs: Return a table that writes rows to a Unicode HTML file as they are
      iterated over.