Python代码示例: fromspire.presentationimport*fromspire.presentation.commonimport*#导入所需的模块#创建Presentation类的对象presentation =Presentation()#从文件加载演示文稿presentation.LoadFromFile("Sample.pptx")#获取一张幻灯片slide = presentation.Slides[1]#将幻灯片保存为PDF文件slide.SaveToFile("output/SlideToPDF...