HtmlSaveOptions.export_headers_footers_mode property. Specifies how headers and footers are output to HTML, MHTML or EPUB...when saving a document to HTML. doc = aw . Document ( file_name...footer types.docx' ) # This document contains headers and footers...