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?
PowerPoint is the popular presentation software commonly used for office and educational slide shows. Creating presentations manually is time consuming. This python based project can create PowerPoint presentation automatically within few minutes.
python-pptx is a Python library for creating and updating PowerPoint (. pptx) files. A typical use would be generating a customized PowerPoint presentation from database content, downloadable by clicking a link in a web application.
If you just want to launch the user's default viewer for powerpoint files, you can use the xdg-open shell command. get the information or words in the file. do not ask the same question multiple times; it isn't helpful to anyone.
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.
Another approach is to automate powerpoint through win32com. I have succesfully done this to augenerate presentations with lots of images following the instructions at http://www.s-anand.net/blog/automating-powerpoint-with-python/ .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With