prs = Presentation() slide = prs.slides.add_slide(prs.slide_layouts[8]) for shape in slide.placeholders: print('%d %s' % (shape.placeholder_format.idx, shape.name))