# Convert POT to PPTM in Python

> Convert POT presentation templates to PPTM presentations in Python. Use the Aspose.Slides Python API to save templates in macro-enabled PowerPoint Presentation format.

Source: https://products.aspose.com/slides/python-net/conversion/pot-to-pptm/
Updated: 2026-08-11



## Convert POT to PPTM in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert POT presentation templates to PPTM presentations programmatically. Load the template and call `Presentation.save` with `SaveFormat.PPTM`.

PPTM is the macro-enabled Open XML presentation format. You can test the conversion in your [browser](https://products.aspose.app/slides/conversion) or use the Python API in your application.

Install the library from [PyPI](https://pypi.org/project/aspose-slides/) by using the following command:

### Console/Terminal

```console
pip install aspose-slides
```

## How to Convert POT to PPTM in Python

Follow these steps to convert a POT file to PPTM using Python.

Load the POT file into a `Presentation` instance.

Call `Presentation.save` with the output path and `SaveFormat.PPTM`.

The presentation is saved as a PPTM file at the specified path.

## System Requirements

Before running the Python conversion sample, make sure your environment meets these requirements.

- Microsoft Windows, macOS, or 64-bit Linux (see the [system requirements](https://docs.aspose.com/slides/python-net/system-requirements/)).
- Python 3.5 or later.
- Aspose.Slides for Python via .NET installed in your environment.

### This sample code shows how to convert POT to PPTM in Python

```python
with slides.Presentation("presentation.pot") as presentation:
    presentation.save("presentation.pptm", slides.export.SaveFormat.PPTM)
```

## Save POT as PPTM in Python

Use the [free online app](https://products.aspose.app/slides/conversion) to see the POT-to-PPTM conversion process in action.

## Other Supported Conversions

- [POT TO BMP](/slides/python-net/conversion/pot-to-bmp/) — Bitmap Image
- [POT TO EMF](/slides/python-net/conversion/pot-to-emf/) — Enhanced Metafile Format
- [POT TO FODP](/slides/python-net/conversion/pot-to-fodp/) — OpenDocument Flat XML Presentation
- [POT TO GIF](/slides/python-net/conversion/pot-to-gif/) — Graphics Interchange Format
- [POT TO HTML](/slides/python-net/conversion/pot-to-html/) — Hypertext Markup Language
- [POT TO JPG](/slides/python-net/conversion/pot-to-jpg/) — JPEG Image
- [POT TO ODP](/slides/python-net/conversion/pot-to-odp/) — OpenDocument Presentation Format
- [POT TO OTP](/slides/python-net/conversion/pot-to-otp/) — OpenDocument Presentation Template
- [POT TO PDF](/slides/python-net/conversion/pot-to-pdf/) — Portable Document Format
- [POT TO PNG](/slides/python-net/conversion/pot-to-png/) — Portable Network Graphics
- [POT TO POTM](/slides/python-net/conversion/pot-to-potm/) — PowerPoint Macro-Enabled Template
- [POT TO POTX](/slides/python-net/conversion/pot-to-potx/) — PowerPoint Open XML Template
- [POT TO PPS](/slides/python-net/conversion/pot-to-pps/) — PowerPoint Slide Show
- [POT TO PPSM](/slides/python-net/conversion/pot-to-ppsm/) — PowerPoint Macro-Enabled Slide Show
- [POT TO PPSX](/slides/python-net/conversion/pot-to-ppsx/) — PowerPoint Open XML Slide Show
- [POT TO PPT](/slides/python-net/conversion/pot-to-ppt/) — Microsoft PowerPoint 97-2003 Presentation
- [POT TO PPTX](/slides/python-net/conversion/pot-to-pptx/) — PowerPoint Open XML Presentation
- [POT TO SVG](/slides/python-net/conversion/pot-to-svg/) — Scalable Vector Graphics
- [POT TO SWF](/slides/python-net/conversion/pot-to-swf/) — Small Web Format
- [POT TO TIFF](/slides/python-net/conversion/pot-to-tiff/) — Tagged Image File Format
- [POT TO XPS](/slides/python-net/conversion/pot-to-xps/) — XML Paper Specification
