Convert PPTX Presentations to POTX in Python
Save a PPTX presentation in the macro-free POTX format with Aspose.Slides for Python via Java.
Convert PPTX to POTX in Python
Aspose.Slides for Python via Java can load a PPTX presentation and save it in the macro-free POTX format based on Office Open XML. The conversion does not require Microsoft PowerPoint.
Convert PPTX to POTX using Python
Create a Presentation from the PPTX file and call save with SaveFormat.Potx to create the POTX file.
Python code for converting PPTX to POTX
presentation = Presentation("presentation.pptx")
try:
presentation.save("presentation.potx", SaveFormat.Potx)
finally:
presentation.dispose()
How to convert PPTX to POTX in Python
Follow these steps to save a PPTX presentation in the macro-free POTX 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.Potxto write the POTX file.
Convert PPTX to Other Supported Formats
You can also convert PPTX presentations to other supported file formats.