# Convert PPT to PPSX in Python

> Convert PPT files to PPSX format in Python with Aspose.Slides for Python via Java.

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



## Convert PPT to PPSX in Python

[**Aspose.Slides for Python via Java**](/slides/python-java/) can load a legacy PowerPoint presentation (`.ppt`) and save it as an Open XML PowerPoint slide show (`.ppsx`) without Microsoft PowerPoint. A PPSX file opens directly in slide show mode in compatible presentation applications.

Load the source file with `Presentation`, then call `save` with `SaveFormat.Ppsx`.

## Convert PPT to PPSX using Python

Create a `Presentation` from the source PPT file, then call `save` with `SaveFormat.Ppsx`.

### Python code for converting PPT to PPSX

```python
presentation = Presentation("presentation.ppt")
try:
    presentation.save("presentation.ppsx", SaveFormat.Ppsx)
finally:
    presentation.dispose()
```

## How to convert PPT to PPSX in Python

Follow these steps to save a PowerPoint PPT presentation as an Open XML PPSX slide show.

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

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

Open the source PPT file with `Presentation`.

Call `save` with `SaveFormat.Ppsx` and a `.ppsx` output path.

## Convert PPT to Other Supported Formats
