# Convert POTM to FODP in Python

> Convert POTM files to FODP presentations in Python with Aspose.Slides for Python via Java.

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



## Convert POTM to FODP in Python

[**Aspose.Slides for Python via Java**](/slides/python-java/) can load a macro-enabled POTM file and export it as a Flat OpenDocument Presentation (FODP). The conversion preserves the presentation content in a flat XML-based format; macros are not retained in FODP. Microsoft PowerPoint, LibreOffice, and OpenOffice are not required.

## Convert POTM to FODP using Python

Create a `Presentation` from the POTM file, then call `save` with `SaveFormat.Fodp`.

### Python code for converting POTM to FODP

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

## How to convert POTM to FODP in Python

Follow these steps to export a POTM file as a Flat OpenDocument Presentation.

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 POTM file with `Presentation`.

Call `save` with `SaveFormat.Fodp` to create the FODP file.

## Convert POTM to Other Supported Formats

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