Administrator
发布于 2022-10-11 / 197 阅读 / 0 评论 / 0 点赞

pdf转word(pdf2docx)

安装包

pip install pdf2docx

执行代码

from pdf2docx import Converter
biantai= Converter(r'D:\Desktop\\111.pdf')
biantai.convert(r'D:\Desktop\\111.docx')
biantai.close()