def document_to_xl(doc, filename, base_url=None):
    """
    Takes a string representation of an html document and writes one sheet for
    every table in the document. The workbook is written out to a file called filename
    """
    wb = document_to_workbook(doc, base_url=base_url)
    wb.save(filename)
Takes a string representation of an html document and writes one sheet for
every table in the document. The workbook is written out to a file called filename
ptstructure/table/tablepyxl/tablepyxl.py