Pdf to Docx using Pyhton
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 ()
本文内容来源于互联网,版权归原作者所有
查看原文