I am working on python-pptx package. For my code I need to extract all the images that are present inside the presentation file. Can anybody help me through this ?
Thanks in advance for help.
my code looks like this:
import pptx
prs = pptx.Presentation(filename)
for slide in prs.slides:
for shape in slide.shapes:
print(shape.shape_type)
while using shape_type it is showing PICTURE(13) present in the ppt. But i want the pictures extracted in the folder where the code is present.