def from_html(html_code, **kwargs):
 parser = TableHandler(**kwargs)
 parser.feed(html_code)
 return parser.tables

def from_html ( html_code , ** kwargs ) : parser = TableHandler ( ** kwargs ) parser . feed ( html_code ) return parser . tables
generates a list of prettytables from a string of html code .