This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aspose.slides as slides | |
# Create presentation | |
with slides.Presentation() as pres: | |
# Remove default slide from presentation | |
pres.slides.remove_at(0) | |
# Import PDF to presentation | |
pres.slides.add_from_pdf("candy.pdf") |