from Util.DocxUtil import * if __name__ == '__main__': # docx文件路径 docx_file = 'static/Txt/化学方程式.docx' # 获取docx文件的内容 content = get_docx_content_by_pandoc(docx_file) print(content)