from win32com.client import Dispatch
xl = Dispatch('Excel.Application')
xl.Workbooks.Open('C:\\Foo\\Bar.xlsx')
xl.Application.Run('SaveHTML')
xl.Workbooks.Close
How do I save Excel Sheet as HTML in Python?