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