Answer the question
In order to leave comments, you need to log in
How to read picture from Docx using python?
Hello. My task is to read pictures (also text) from a .docx document.
So I made a cycle through paragraphs, I take the text, I can do it. But, for some reason, the picture is missing in the paragraphs, and I can't get it.
Is it possible to get an image in a loop?
Or somehow find through XML.
for paragraph in doc.paragraphs:
print(paragraph)#тут никогда не появляется картинка
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question