I try to enable automatically import pictures in order to prevent manually ad 100's of pictures each time. I seem to be unable to access the placeholders of the pictures and replace them with a new picture. some guide in the correct direction would be of great help.
code i start with:
import pptx
import pptx.util
from pptx import Presentation
prs = Presentation('prepare_2.pptx')
picture_runs = []
for slide in prs.slides:
for shape in slide.shapes:
if shape.shape_type == 13:
slide.get.image('tree.jpg')
>Picture_runs.append((shape.name,shape.shape_type,shape.id,shape.image))
information i gained are found : http://python-pptx.readthedocs.io/en/latest/user/quickstart.html