Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active March 1, 2022 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/3f8e496aed107a0b58a05267076fe9ef to your computer and use it in GitHub Desktop.
Save aspose-com-gists/3f8e496aed107a0b58a05267076fe9ef to your computer and use it in GitHub Desktop.
Convert OpenOffice ODP to PDF in Python
import aspose.slides as slides
# Load ODP presentation
pres = slides.Presentation("sample.odp")
# Convert ODP to PDF
pres.save("odp-to-pdf.pdf", slides.export.SaveFormat.PDF)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment