Skip to main content

๐Ÿ“Š PPT API Reference

Sub-package: poppt | Install: pip install poppt Import: import office or import poppt

Function Overviewโ€‹

FunctionDescription
ppt2pdf(path, output_path='./')PPT to PDF
ppt2img(input_path, output_path='./', merge=False)PPT to image
merge4ppt(input_path, output_path='./', output_name='merge4ppt.pptx')Merge PPT

Examplesโ€‹

import office

office.ppt.ppt2pdf(path='presentation.pptx', output_path='./output/')
office.ppt.ppt2img(input_path='presentation.pptx', output_path='./images/', merge=True)
office.ppt.merge4ppt(input_path='./ppt_files/', output_name='combined.pptx')
AI ๅŠžๅ…ฌๆ•ˆ็އ่ฏพ
35 ่ฎฒ AI ่‡ชๅŠจๅŒ–ๅŠžๅ…ฌๅฎžๆˆ˜่ฏพ็”จ Python + AI ๅค„็† Excelใ€Wordใ€PDFใ€้‚ฎไปถ็ญ‰ๅŠžๅ…ฌๅœบๆ™ฏใ€‚
ๅŽปๅญฆไน