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.

15 lines
349 B

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