# Convert FODP to PPTM in Python

> Convert FODP presentations to macro-enabled PowerPoint PPTM files in Python with Aspose.Slides for Python via Java.

Source: https://products.aspose.com/slides/python-java/conversion/fodp-to-pptm/
Updated: 2026-07-21



## Convert FODP to PPTM in Python

[**Aspose.Slides for Python via Java**](/slides/python-java/) can load an FODP presentation and save it in the macro-enabled PowerPoint PPTM format. PPTM supports VBA projects, but converting an FODP file does not add macros to the presentation. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.

## Convert FODP to PPTM using Python

Create a `Presentation` from the FODP file and call `save` with `SaveFormat.Pptm` to create the PPTM file.

### Python code for converting FODP to PPTM

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

## How to convert FODP to PPTM in Python

Follow these steps to save a flat XML OpenDocument presentation in the macro-enabled PowerPoint PPTM format.

Install [**Aspose.Slides for Python via Java**](https://docs.aspose.com/slides/python-java/installation/).

Configure the package and start the Java Virtual Machine in your application.

Open the source FODP file with `Presentation`.

Call `save` with `SaveFormat.Pptm` to write the PPTM file.

## Convert FODP to Other Supported Formats

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