Paper Office
paper-pptxAPI reference

API reference

paper-pptx 0.2.0 API reference

API reference for paper-pptx 0.2.0, including inherited APIs and Paper additions. Import this package as pptx.

Presentation

funcPresentation(pptx: str | IO[bytes] | None = None) -> presentation.Presentation

Return a Presentation object loaded from pptx, where pptx can be either a path to a .pptx file (a string) or a file-like object. If pptx is missing or None, the built-in default presentation "template" is loaded.

parampptxstr | IO[bytes] | None
= None

Returns

pptx.presentation.pptx.presentation.Presentation

On this page