Generate presentation with Python
-
17-06-2021 - |
سؤال
I'm working with data processing and want to generate PowerPoint or OpenOffice Impress presentation with some data analysis directly from Python. Is there any libraries for Python to do that? I'm using Unix enviroment.
المحلول
Yes.
You can use the odf
library.
http://opendocumentfellowship.com/projects/odfpy
The document you'll get will be in ODF format but you can later convert it to PPT using unoconv.
نصائح أخرى
Looks like this is starting to come along well: https://github.com/scanny/python-pptx/
لا تنتمي إلى StackOverflow