pip install pdf2docx
from pdf2docx import parse
pdf_file = 'test.pdf'
docx_file = 'demo.docx'
# convert pdf to docx
parse(pdf_file, docx_file)
就是这么easy!
pip install pdf2docx
from pdf2docx import parse
pdf_file = 'test.pdf'
docx_file = 'demo.docx'
# convert pdf to docx
parse(pdf_file, docx_file)
就是这么easy!