Answers for "python docx extract image"

0

python docx extract image

import docx2txt

# extract text
text = docx2txt.process("file.docx")

# extract text and write images in /tmp/img_dir
text = docx2txt.process("file.docx", "/tmp/img_dir")
Posted by: Guest on April-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language