# Convert PPSX to SWF in Python

> Convert PPSX slide shows to SWF files in Python. Use the Aspose.Slides Python API to export presentations to the legacy Flash format.

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



## Convert PPSX to SWF in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert PPSX slide shows to SWF files programmatically. Load the source file into a `Presentation` instance and export it by using `Presentation.save` with `SaveFormat.SWF`.

SWF is a legacy Adobe Flash format intended for compatibility with older workflows. 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 PPSX to SWF in Python

These are the steps to convert a PPSX file to SWF using Python.

Load the PPSX file into a `Presentation` instance.

Call `Presentation.save` with the output file path and `SaveFormat.SWF`.

The presentation is written to the specified SWF file.

## 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 PPSX to SWF in Python

```python
with slides.Presentation("presentation.ppsx") as presentation:
    presentation.save("presentation.swf", slides.export.SaveFormat.SWF)
```

## Save PPSX as SWF in Python

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

## Other Supported Conversions

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