# Convert POT to PDF in Python

> Convert POT files to PDF documents in Python with Aspose.Slides for Python via Java.

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



## Convert POT to PDF in Python

[**Aspose.Slides for Python via Java**](/slides/python-java/) can load a POT file and render it as a PDF document. The PDF preserves the visual layout of the slides in a fixed-layout format and does not require Microsoft PowerPoint.

## Convert POT to PDF using Python

Create a `Presentation` from the POT file, then call `save` with `SaveFormat.Pdf`.

### Python code for converting POT to PDF

```python
presentation = Presentation("presentation.pot")
try:
    presentation.save("presentation.pdf", SaveFormat.Pdf)
finally:
    presentation.dispose()
```

## How to convert POT to PDF in Python

Follow these steps to render a POT file as a PDF document.

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

Call `save` with `SaveFormat.Pdf` to create the PDF document.

## Convert POT to Other Supported Formats
