目录
创建ppt文档
安装
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple python-pptx
导入: import pptx
使用
import pptx #创建一个空的ppt对象 p=pptx.Presentation() #选择布局 layout=p.slide_layouts[1] #将布局样式添加进去 slide=p.slides.add_slide(layout) #保存 p.save("demo.ppt")
段落的使用

段落添加数据

段落中定义多个段落

自定义段落

ppt插入表表格

PPT插入图片

读取ppt
读取ppt整体对象
获取ppt文本

获取表格内容
