from pdf2docx import Converter
pdf_file = 'xxx.pdf'
docx_file = 'word/sample.docx'
# convert pdf to docx
cv = Converter(pdf_file)
cv.convert(docx_file, start=0, end=None)
cv.close()
from pdf2docx import Converter
pdf_file = 'xxx.pdf'
docx_file = 'word/sample.docx'
# convert pdf to docx
cv = Converter(pdf_file)
cv.convert(docx_file, start=0, end=None)
cv.close()
本文标题:PDF2WORD
本文链接:https://www.haomeiwen.com/subject/hedcrltx.html
网友评论