You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
315 B

from Util.DocxUtil import *
if __name__ == '__main__':
# docx文件路径
docx_file = 'D:\dsWork\dsProject\dsRag\static\Txt\化学方程式_CHEMISTRY_1.docx'
# 整合最终的拼接完的文本
sb = get_docx_content_by_pandoc(docx_file)
# 输出
for x in sb:
print(x)