python-pptx icon indicating copy to clipboard operation
python-pptx copied to clipboard

Create Open XML PowerPoint documents in Python

Results 225 python-pptx issues
Sort by recently updated
recently updated
newest added

`pptx.shapes.shapetree._BaseGroupShapes.add_chart()` returns `GraphicFrame` object but typed return annotation is `Chart`. This is causing issues with typecheckers.

shortlist

In PowerPoint, I have the option to create a shape linking to an online video by going Insert > Media > Video > Online Videos. In the documentation I see...

Hello, I've been using python-pptx 1.0.2 for several weeks now and find it very helpful. I've been able to do or find workarounds to everything I need to do except...

Failure to open some Presentations, not all ``` from pptx import Presentation prs = Presentation("C:\\Users\\ISAT\\Desktop\\Teste PPT\\43733.pptx") Traceback (most recent call last): File "", line 1, in File "C:\Users\ISAT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pptx\api.py", line 28,...

I have a slide in my Template which I want to dynamically replicate and add at a certain position based on my data. I have attached attached a screenshot of...

In order to modify an existing presentation to suit a new purpose As a developer using python-pptx I need the ability to delete a slide API perhaps: ``` python slides.remove(slide)...

slide

Thanks for maintaining and developing this tool! I am struggling a bit with the following use case, not completely sure whether I am trying to do something that isn't supported,...

Adds the delete slide feature. You can do this by calling the method `Slides().remove_slide(slide_id)` on a `Slides` instance. It deletes a slide and relations, doing just the opposite of the...