Files
dsProject/dsRag/Test/TestPandoc.py

11 lines
337 B
Python
Raw Normal View History

2025-08-14 15:45:08 +08:00
from Util.DocxUtil import *
if __name__ == '__main__':
# docx文件路径
#docx_file = '/static/Txt/Backup/化学方程式_CHEMISTRY_1.docx'
docx_file = '../static/Txt/化学方程式_CHEMISTRY_1.docx'
# 整合最终的拼接完的文本
content = get_docx_content_by_pandoc(docx_file)
print(content)