To print specific slides from a PowerPoint presentation, based on a list of items we use the basic PowerPoint tool Ctrl+F following this process:
-save the slide ID
-save the second slide ID
-print with those IDs and that takes a lot of workloads.
We think to automate this task with a Python script.
from pptx import Presentation
filename = "C:/Users/RElKassah/Desktop/test.pptx"
prs = Presentation(filename)
text="test"
for slide in prs.slides:
if slide.shapes ==text:
title = slide.shapes.text.find = 'test'
print(title)