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

Unlock PPT using Python

Build your own Python apps to remove passwords from PowerPoint and decrypt presentations files using server-side APIs.

Removing Encryption from PPT Presentation via Python

Using Aspose.Slides for Python via .NET, you can remove the encryption or password protection on the PPT presentation. This way, users become able to access or modify the PPT presentation without restrictions.

Disabling Password Protection from PPT using Python


import aspose.slides as slides

loadOptions = slides.LoadOptions()
loadOptions.password = "123123"
with slides.Presentation("encrypted-pres.ppt", loadOptions) as pres:
    pres.protection_manager.remove_encryption()
    pres.save("encryption-removed.ppt", slides.export.SaveFormat.PPT)

Removing Write Protection from PPT Presentation using Python


import aspose.slides as slides

with slides.Presentation("write-protected-pres.ppt") as pres:
    pres.protection_manager.remove_write_protection()
    pres.save("write-protection-removed.ppt", slides.export.SaveFormat.PPT)

How to Remove Password From PPT via Python

These are the steps to remove protection from PPT files.

  1. Load PPT with an instance of Presentation

  2. Remove Write Protection using ProtectionManager class

  3. Save result in PPT format

Other Supported Formats

Using Python, You can also remove protection from the following formats: