Answers for "list all placeholders python pptx"

0

list all placeholders python pptx

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))
Posted by: Guest on April-27-2022

Python Answers by Framework

Browse Popular Code Answers by Language