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
341 B

import asyncio
import os
from Util.DocxUtil import get_docx_content_by_pandoc
async def main():
# 要处理的文件路径
file_path = "ShiTi/Docx/《动能定理》巩固练习.docx"
# 转换docx为md
get_docx_content_by_pandoc(file_path, 'Word转试题.md')
if __name__ == "__main__":
asyncio.run(main())