Convert PPT to POTX in Python
Save a legacy PowerPoint presentation as an Open XML POTX template with Aspose.Slides for Python via Java.
Convert PPT to POTX in Python
Aspose.Slides for Python via Java
can load a legacy PowerPoint presentation (.ppt) and save it as an Open XML PowerPoint template (.potx) without Microsoft PowerPoint. The resulting POTX file can be used as the basis for new presentations.
Load the source file with Presentation, then call save with SaveFormat.Potx.
Convert PPT to POTX using Python
Create a Presentation from the source PPT file, then call save with SaveFormat.Potx.
Python code for converting PPT to POTX
presentation = Presentation("presentation.ppt")
try:
presentation.save("presentation.potx", SaveFormat.Potx)
finally:
presentation.dispose()
How to convert PPT to POTX in Python
Follow these steps to save a PowerPoint PPT presentation as an Open XML POTX 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.Potxand a.potxoutput path.
Convert PPT to Other Supported Formats
You can also convert PPT presentations to other supported file formats.