# Convert PPS to POTM in Python

> Convert PPS files to macro-enabled POTM files in Python with Aspose.Slides for Python via Java.

Source: https://products.aspose.com/slides/python-java/conversion/pps-to-potm/
Updated: 2026-07-22



## Convert PPS to POTM in Python

[Aspose.Slides for Python via Java](/slides/python-java/) can load a PowerPoint Show (`.pps`) file and save it in the macro-enabled POTM format without Microsoft PowerPoint. POTM is an Open XML format that can store VBA macros.

The library retains the presentation content and layout while changing the file format. Load the source file with `Presentation`, then call `save` with `SaveFormat.Potm`.

## How to Convert PPS to POTM in Python

Load the source PPS file into a `Presentation`, then save it with `SaveFormat.Potm`.

### Python tutorial for converting PPS into POTM

```python
presentation = Presentation("presentation.pps")
try:
    presentation.save("presentation.potm", SaveFormat.Potm)
finally:
    presentation.dispose()
```

## Steps to Convert PPS to POTM in Python

The conversion loads the PowerPoint Show and writes its content in the macro-enabled POTM format.

Install [Aspose.Slides for Python via Java](/slides/python-java/).

Configure JPype and make the Aspose.Slides package available to your Python project.

Create a `Presentation` from the source `.pps` file.

Call `save` with `SaveFormat.Potm` and a `.potm` output path.

## Convert PPS to Other Supported Formats

- [PPS TO PPTX](/slides/python-java/conversion/pps-to-pptx/)
- [PPS TO PPT](/slides/python-java/conversion/pps-to-ppt/)
- [PPS TO PDF](/slides/python-java/conversion/pps-to-pdf/)
- [PPS TO HTML](/slides/python-java/conversion/pps-to-html/)
- [PPS TO PNG](/slides/python-java/conversion/pps-to-png/)
- [PPS TO BMP](/slides/python-java/conversion/pps-to-bmp/)
- [PPS TO JPG](/slides/python-java/conversion/pps-to-jpg/)
- [PPS TO FODP](/slides/python-java/conversion/pps-to-fodp/)
- [PPS TO GIF](/slides/python-java/conversion/pps-to-gif/)
- [PPS TO ODP](/slides/python-java/conversion/pps-to-odp/)
- [PPS TO OTP](/slides/python-java/conversion/pps-to-otp/)
- [PPS TO POT](/slides/python-java/conversion/pps-to-pot/)
- [PPS TO POTX](/slides/python-java/conversion/pps-to-potx/)
- [PPS TO PPSM](/slides/python-java/conversion/pps-to-ppsm/)
- [PPS TO PPSX](/slides/python-java/conversion/pps-to-ppsx/)
- [PPS TO PPTM](/slides/python-java/conversion/pps-to-pptm/)
- [PPS TO SVG](/slides/python-java/conversion/pps-to-svg/)
- [PPS TO TIFF](/slides/python-java/conversion/pps-to-tiff/)
