Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add image pptx python

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")
Source by pythonprogramming.altervista.org #
 
PREVIOUS NEXT
Tagged: #add #image #pptx #python
ADD COMMENT
Topic
Name
7+8 =