# Konversi PPSX ke PPTM dengan Python

> Contoh kode untuk konversi PPSX ke PPTM Python. Gunakan PowerPoint Python API untuk konversi batch file PPSX ke file PPTM.

Source: https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-pptm/
Updated: 2026-10-27



## Konversi PPSX ke PPTM dengan Python

Perlu mengonversi file PPSX ke PPTM secara terprogram? Menggunakan [*Aspose.Slides untuk Python melalui .NET*](https://products.aspose.com/slides/id/python-net/) pengembang mana pun dapat mengonversi format PPSX ke PPTM hanya dengan beberapa baris kode Python.

Sebagai API pemrosesan presentasi modern, Aspose.Slides untuk Python membuat PPTM dari PPSX dengan cepat. Uji kualitas konversi PPSX ke PPTM langsung di [browser](https://products.aspose.app/slides/conversion) Anda. Perpustakaan Aspose PowerPoint PPTX memungkinkan Anda untuk mengonversi file PPSX ke banyak format populer.

Anda dapat menginstal perpustakaan dari [PyPI](https://pypi.org/project/Aspose.Slides/) menggunakan perintah pip berikut:

### Konsol/Terminal

```console
> pip install aspose.slides

```

## Simpan PPSX sebagai PPTM dengan Python

Gunakan aplikasi gratis untuk melihat demonstrasi proses konversi PPSX ke PPTM.

### Kode contoh ini menunjukkan Konversi PPSX ke PPTM Python

```py

import aspose.slides as slides
import aspose.pydrawing as drawing

with slides.Presentation("presentation.ppsx") as presentation:
    presentation.save("presentation.pptm", slides.export.SaveFormat.PPTM)

```

## Bagaimana Mengonversi PPSX ke PPTM dengan Python

Ini adalah langkah-langkah untuk mengkonversi file PPSX ke PPTM menggunakan Python.

1. Muat file PPSX dengan instance kelas Presentasi

1. Panggil metode `save` saat menentukan jalur file keluaran & SaveFormat.PPTM sebagai parameter

1. File PPSX akan disimpan di jalur yang ditentukan

## Persyaratan sistem

Sebelum menjalankan kode sumber contoh konversi Python, pastikan Anda memiliki prasyarat berikut.

- OS berbasis Microsoft Windows atau Linux (lihat [lebih lanjut](https://docs.aspose.com/slides/python-net/system-requirements/)).
- Python 3.5 atau lebih baru
- Aspose.Slides untuk Python direferensikan dalam proyek Anda.

## Konversi PPSX ke PPTM Secara Online

Aplikasi Aspose.Slides Conversion gratis dibuat dengan [Aspose.Slides for Python via .NET](https://products.aspose.com/slides/id/python-net/), API yang sama dengan kode di atas. Buka aplikasinya dan lihat apa yang dapat dilakukan API dengan file PPSX Anda sendiri.

- Berjalan di browser Anda, tanpa perlu menginstal apa pun.
- Lihat cara Aspose.Slides mengonversi file sebelum Anda menulis kode.
- Unggah file PPSX dan simpan sebagai PPTM.
- Unduh hasilnya atau konversi lebih banyak file.

## Konversi lain yang Didukung

- [PPSX TO BMP](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-bmp/) — Gambar bitmap
- [PPSX TO EMF](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-emf/) — Format Metafile yang Ditingkatkan
- [PPSX TO FODP](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-fodp/) — Presentasi XML Datar OpenDocument
- [PPSX TO GIF](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-gif/) — Format Pertukaran Grafis
- [PPSX TO HTML](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-html/) — Hyper Text Markup Language
- [PPSX TO JPG](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-jpg/) — Gambar JPEG
- [PPSX TO ODP](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-odp/) — Format Presentasi OpenDocument
- [PPSX TO OTP](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-otp/) — Format Standar OpenDocument
- [PPSX TO PDF](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-pdf/) — Format Dokumen Portabel
- [PPSX TO PNG](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-png/) — Grafik Jaringan Portabel
- [PPSX TO POT](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-pot/) — File Template Microsoft PowerPoint
- [PPSX TO POTM](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-potm/) — File Templat Microsoft PowerPoint
- [PPSX TO POTX](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-potx/) — Presentasi Template Microsoft PowerPoint
- [PPSX TO PPS](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-pps/) — Pertunjukan Slide PowerPoint
- [PPSX TO PPSM](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-ppsm/) — Slide Show yang mendukung makro
- [PPSX TO PPT](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-ppt/) — Microsoft PowerPoint 97-2003
- [PPSX TO PPTX](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-pptx/) — Buka Format presentasi XML
- [PPSX TO SVG](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-svg/) — Grafik Vektor Skalabel
- [PPSX TO SWF](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-swf/) — Format SWF
- [PPSX TO TIFF](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-tiff/) — Format Gambar yang Ditandai
- [PPSX TO XPS](https://products.aspose.com/slides/id/python-net/conversion/ppsx-to-xps/) — Spesifikasi Kertas XML
