Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 466 Bytes

File metadata and controls

16 lines (16 loc) · 466 Bytes

To get started:

$ pip install -r requirements.txt

Then, run the script on a PDF file, outputting a DOCX file, in this case, letter.pdf to letter.docx:

$ python convert_pdf_to_docx.py letter.pdf letter.docx
[INFO] Start to convert letter.pdf
[INFO] [1/4] Opening document...
[INFO] [2/4] Analyzing document...
[INFO] [3/4] Parsing pages...
[INFO] (1/1) Page 1
[INFO] [4/4] Creating pages...
[INFO] (1/1) Page 1
[INFO] Terminated in 0.11s.