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

Unlock ODP using Python

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

Removing Encryption from ODP Presentation via Python

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

Disabling Password Protection from ODP using Python


import aspose.slides as slides

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

Removing Write Protection from ODP Presentation using Python


import aspose.slides as slides

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

How to Remove Password From ODP via Python

These are the steps to remove protection from ODP files.

  1. Load ODP with an instance of Presentation

  2. Remove Write Protection using ProtectionManager class

  3. Save result in ODP format

Other Supported Formats

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