1from pptx import Presentation
2import os
3
4prs = Presentation()
5slide = prs.slides.add_slide(prs.slide_layouts[8])
6placeholder = slide.placeholders[1]
7picture = placeholder.insert_picture('001.png')
8prs.save("ESEMPIO.pptx")
9os.startfile("ESEMPIO.pptx")
10