Convert PPTX Presentations to POT in Python

Save a PPTX presentation in the binary POT format with Aspose.Slides for Python via Java.

Convert PPTX to POT in Python

Aspose.Slides for Python via Java can load a PPTX presentation and save it in the binary PowerPoint 97-2003 POT format. The conversion does not require Microsoft PowerPoint.

Convert PPTX to POT using Python

Create a Presentation from the PPTX file and call save with SaveFormat.Pot to create the POT file.

Python code for converting PPTX to POT

presentation = Presentation("presentation.pptx")
try:
    presentation.save("presentation.pot", SaveFormat.Pot)
finally:
    presentation.dispose()

How to convert PPTX to POT in Python

Follow these steps to convert a PPTX presentation to the binary POT format.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source PPTX file with Presentation.

  4. Call save with SaveFormat.Pot to write the POT file.