parameters: (html_code, **kwargs)
return_statement: return tables[0]
docstring: Generates a PrettyTables from a string of HTML code which contains only a
      single <table>
docstring_summary: Generates a PrettyTables from a string of HTML code which contains only a
      single <table>
docstring_tokens: Generates a PrettyTables from a string of HTML code which contains only a single <table >
function: def from_html_one(html_code, **kwargs):
      """
      Generates a PrettyTables from a string of HTML code which contains only a
      single <table>
      """
  
      tables = from_html(html_code, **kwargs)
      try:
          assert len(tables) == 1
      except AssertionError:
          raise Exception("More than one <table> in provided HTML code!  Use from_html instead.")
      return tables[0]
function_tokens: def from_html_one ( html_code , * * kwargs ) : tables = from_html ( html_code , * * kwargs ) try : assert len ( tables ) == 1 except AssertionError : raise Exception ( "More than one <table> in provided HTML code!  Use from_html instead." ) return tables [ 0 ]