Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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") 
 
PREVIOUS NEXT
Tagged: #python #docx #extract #image
ADD COMMENT
Topic
Name
3+1 =