PPT PPTX ODP POT ppsx
Aspose.Slides  for Python via .NET
PPT

Redact PPT using Python

Build your own Python apps to find and replace text in presentation files using server-side APIs. Learn how to search and replace text in content, comments or metadata of PPT presentations

Redact PPT Presentation via Python

A basic document search and replace text in contents, comments, slide notes or metadata with Aspose.Slides for Python via .NET APIs can be done with just few lines of code. Find and replace text in PowerPoint and OpenOffice. Edit text, comments, metadata in presentation via regexp data matching.

Redact PPT Presentation using Python


import aspose.slides as slides

with slides.Presentation("welcome-to-powerpoint.ppt") as pres:
    slides.util.SlideUtil.find_and_replace_text(pres, True, "PowerPoint", "Aspose.Slides", None)
    pres.save("replaced.ppt", slides.export.SaveFormat.PPT)

How to Redact PPT via Python

These are the steps to Redact PPT files.

  1. Load PPT with an instance of Presentation.

  2. Use FindAndReplaceText method to find and replace text.

  3. Save result in PPT format

Online PPT Redaction Live Demos