'Edit .pptx template with python

Someone already asked something similar here : Edit powerpoint .pptx template by python

But my case is a little bit different. I doesn't want to just change text, but also images, but maybe it's a similar task ? I have a pptx with rendering like that :

render

I have several by slides, my goal is to automate that and switch images and text.

I read this documentation : https://python-pptx.readthedocs.io/en/latest/index.html But I didn't found anything about that. Could someone explain me how to tell Python to switch images and text in this blue square ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source