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

Hi, I was wondering if it was currently possible to activate and use the `morph` feature for transitioning an image element between two slides (thus changing its location, orientation, zoom,...

import copy import pptx def copy_slide(pres, slide_index): def _get_blank_slide_layout(pres): layout_items_count = [len(layout.placeholders) for layout in pres.slide_layouts] min_items = min(layout_items_count) blank_layout_id = layout_items_count.index(min_items) return pres.slide_layouts[blank_layout_id] blank_slide_layout = _get_blank_slide_layout(pres) source=pres.slides[slide_index] dest =...

0 I use python-pptx library maintained by scanny. I have already manually inserted the placeholders in the Powerpoint template in the layout and not in the slide. I am looking...

Currently when I try to use `python-pptx` on Python 3.9 to save a new .pptx file, I get the following error: ``` Traceback (most recent call last): File "test.py", line...

In order to create a presentation by populating template slides with dynamic data As a developer using python-pptx I need the ability to clone a slide API suggestion: ``` cloned_slide...

slide

I am trying to package the program; but the packaging is successful but the operation fails. ![69105624b9f74cf1347fbaa1692c389](https://github.com/scanny/python-pptx/assets/102800660/806bf35d-6d6b-4e58-9806-46eebed2ccc4) The procedure is as follows ``` import os from tkinter import Tk, Label,...

It started to produce DeprecationWarning in Python 3.12 and caused the tests to fail. This fixes the tests on Python 3.12.

I managed to remove slides from_page to_page (i.e. from_slide_number, to_slide_number). It works. The problem I'm facing is that although i remove relationships, the small PPTx version, has the same MB...

When a non-openxml feature is used in animations, Powerpoint wraps the `` element in a ``. For example, setting `Bounce end` to true: (see enclosed file: [file_with_bounce.pptx](https://github.com/scanny/python-pptx/files/14556139/file_with_bounce.pptx) ) However, `python-pptx`...

Hi, im kinda new in python and trying out this library to automate a monthly report by changing values in my Powerpoint. So far i was able to replace the...