Use Microsoft PowerPoint within Python with the help of COM
pip install pptcom
conda install -c mrossi pptcom
You can export the slides of a PowerPoint-presentation:
import pptcom
with pptcom.File('presentation.pptx') as pptfile:
pptfile.export('png')
It is recommended to use conda-build for building the package. Due to the required packages for testing you need to execute the follwing command inside the repository folder to successfully build the package:
conda-build conda.recipe conda.recipe -c defaults -c conda-forge
For testing purposes python-pptx is used, after an installation of this package you can test the package with pytest.