Make a PowerPoint presentation using Python?

martianwars picture martianwars · Jul 5, 2015 · Viewed 20.8k times · Source

So I have a collection of close to 90 photographs along with a caption and the date stored in a text file. The images are of variable sizes and I would like to automate the procedure of converting this data into a PowerPoint presentation, with one picture on one slide along with its date and caption as the Title. Any reliable methods present?

Answer

Rahul Gupta picture Rahul Gupta · Jul 5, 2015

Check out the python-pptx library. Its useful for creating and updating PowerPoint .pptx files.

Also for some quick examples in python-pptx with screenshots, you can check this link.