Convert POT Files to POTX in Python
Save a binary PowerPoint template as an Open XML template with Aspose.Slides for Python via Java.
Convert POT to POTX in Python
Aspose.Slides for Python via Java can load a binary PowerPoint 97–2003 template (POT) and save it as an Open XML PowerPoint template (POTX). POTX is a macro-free format, so use POTM instead when the output must support VBA macros. Microsoft PowerPoint is not required for the conversion.
Convert POT to POTX using Python
Create a Presentation from the POT file, then call save with SaveFormat.Potx.
Python code for converting POT to POTX
presentation = Presentation("presentation.pot")
try:
presentation.save("presentation.potx", SaveFormat.Potx)
finally:
presentation.dispose()
How to convert POT to POTX in Python
Follow these steps to convert a binary PowerPoint template to the POTX format.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source POT file with
Presentation.Call
savewithSaveFormat.Potxto create the POTX file.
Convert POT to Other Supported Formats
You can also convert POT files to other supported file formats.