Skip to content
Advertisement

Tag: powerpoint

Python PPTX workaround to add Transitions to slides

I successfully automated the creation of pptx presentations using python-pptx, customising background, inserting text, images, etc. How can I add custom Transitions to my slides? (E.g. “Transitions” > “Fade” from PowerPoint). As I could not find a function, my idea is to use workaround functions (going deep into xml): where do I start? python 3.10.4, PowerPoint v16.54, MacOS Big Sur

Changing font for part of text in python-pptx

I’m using the python-pptx module to create presentations. How can I change the font properties only for a part of the text? I currently change the font like this: Thanks! Answer In PowerPoint, font properties are applied to a run. In a way, it is what defines a run; a “run” of text sharing the same font treatment, including typeface,

Advertisement