Fügen Sie Bild PPTX Python hinzu
from pptx import Presentation
import os
prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[8])
placeholder = slide.placeholders[1]
picture = placeholder.insert_picture('001.png')
prs.save("ESEMPIO.pptx")
os.startfile("ESEMPIO.pptx")
Kind Kangaroo