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.

11 lines
337 B

3 weeks ago
from Util.DocxUtil import *
3 weeks ago
if __name__ == '__main__':
3 weeks ago
# docx文件路径
3 weeks ago
#docx_file = '/static/Txt/Backup/化学方程式_CHEMISTRY_1.docx'
3 weeks ago
docx_file = '../static/Txt/化学方程式_CHEMISTRY_1.docx'
3 weeks ago
3 weeks ago
# 整合最终的拼接完的文本
3 weeks ago
content = get_docx_content_by_pandoc(docx_file)
3 weeks ago
3 weeks ago
print(content)