Convert PPTX to PPT in Python
Save an Open XML presentation in the legacy PowerPoint 97-2003 format with Aspose.Slides for Python via Java.
Convert PPTX to PPT in Python
Aspose.Slides for Python via Java can load an Open XML PowerPoint presentation (PPTX) and save it in the legacy PowerPoint 97-2003 presentation format (PPT). The conversion preserves supported content and layout, but features unavailable in the older format may be simplified. Microsoft PowerPoint is not required.
Convert PPTX to PPT using Python
Create a Presentation from the PPTX file, then call save with SaveFormat.Ppt.
Python code for converting PPTX to PPT
presentation = Presentation("presentation.pptx")
try:
presentation.save("presentation.ppt", SaveFormat.Ppt)
finally:
presentation.dispose()
How to convert PPTX to PPT in Python
Follow these steps to convert an Open XML PowerPoint presentation to the legacy PPT format.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source PPTX file with
Presentation.Call
savewithSaveFormat.Pptto create the PPT presentation.
Convert PPTX to Other Supported Formats
You can also convert PPTX presentations to other supported file formats.