Convert PPS Slide Shows to PPTM in Python

Save a legacy PowerPoint slide show as a macro-enabled PPTM presentation with Aspose.Slides for Python via Java.

Convert PPS to PPTM using Python

Create a Presentation from the PPS file, then call save with SaveFormat.Pptm.

Python code for converting PPS to PPTM

presentation = Presentation("presentation.pps")
try:
    presentation.save("presentation.pptm", SaveFormat.Pptm)
finally:
    presentation.dispose()

Convert PPS to PPTM in Python

Aspose.Slides for Python via Java can load a legacy binary PowerPoint slide show (PPS) and save it as a macro-enabled Open XML presentation (PPTM). PPTM can store VBA projects, but selecting this output format does not add macros to a source file that has none. Microsoft PowerPoint is not required.

How to convert PPS to PPTM in Python

Follow these steps to convert a legacy PowerPoint slide show to a macro-enabled PPTM presentation.

  1. Install Aspose.Slides for Python via Java.
  2. Configure the package and start the Java Virtual Machine in your application.
  3. Open the source PPS file with Presentation.
  4. Call save with SaveFormat.Pptm to create the PPTM presentation.

Convert PPS to Other Supported Formats

You can also convert PPS slide shows to other supported file formats.