Here Some Simple Python Script that convert PDF to word using pdf2docx library on python
first install library on pip :
pip install --user termcolor opencv-python-headless fire pdf2docx
make sure example.pdf as source for convert exist with script
,after that build this sample Simple Python Script for converter :
from pdf2docx import Converter
pdf_file = 'example.pdf'
docx_file = 'example.docx'
cv = Converter(pdf_file)
cv.convert(docx_file)
cv.close()
Top comments (0)