pdf2docx:https://github.com/dothinking/pdf2docx
可将 PDF 转换成 docx 文件的 Python 库。
from pdf2docx import parse pdf_file = '/path/to/sample.pdf' docx_file = 'path/to/sample.docx' # convert pdf to docx parse(pdf_file, docx_file)
标签:docx,Python,pdf2docx,file,PDF,pdf From: https://www.cnblogs.com/sdlyxyf/p/17149375.html