pdf2docx
Open source Python library for converting PDF to DOCX.
https://github.com/ArtifexSoftware/pdf2docx
Install
bash
pip install pdf2docx

使用
python
from pdf2docx import Converter
pdf_file = 'D:\my\c4611_sample_explain.pdf'
docx_file = 'D:\my\c4611_sample_explain.docx'
# convert pdf to docx
cv = Converter(pdf_file)
cv.convert(docx_file) # all pages by default
cv.close()
效果
左边PDF,右边World