Convert PPT to POT in Python
Save a legacy PowerPoint presentation as a PowerPoint 97–2003 Design Template with Aspose.Slides for Python via Java.
Convert PPT to POT in Python
Aspose.Slides for Python via Java
can load a legacy PowerPoint presentation (.ppt) and save it as a PowerPoint 97–2003 Design Template (.pot) without Microsoft PowerPoint. The conversion retains supported slide content, layouts, and formatting in the target binary format.
Load the source file with Presentation, then call save with SaveFormat.Pot.
Convert PPT to POT using Python
Create a Presentation from the source PPT file, then call save with SaveFormat.Pot.
Python code for converting PPT to POT
presentation = Presentation("presentation.ppt")
try:
presentation.save("presentation.pot", SaveFormat.Pot)
finally:
presentation.dispose()
How to convert PPT to POT in Python
Follow these steps to save a PowerPoint PPT presentation as a PowerPoint 97–2003 Design Template.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source PPT file with
Presentation.Call
savewithSaveFormat.Potand a.potoutput path.
Convert PPT to Other Supported Formats
You can also convert PPT presentations to other supported file formats.