Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python powerpoint automation using pywin32

460 views
Skip to first unread message

Jaydeep Patil

unread,
Feb 24, 2014, 6:35:08 AM2/24/14
to
I need to create a new powerpoint presentation. I need to add images, paste some graphs, add texts, tables into powerpoint.
Is any link or document available which help me to do this work more effectivey & faster.



Regards
Jay

sffj...@gmail.com

unread,
Feb 24, 2014, 6:57:23 AM2/24/14
to
On Monday, 24 February 2014 11:35:08 UTC, Jaydeep Patil wrote:
> I need to create a new powerpoint presentation. I need to add images, paste some graphs, add texts, tables into powerpoint.
>
> Is any link or document available which help me to do this work more effectivey & faster.

Always remember, PyPi is your friend.

I've not used it but the following is available which works with Microsoft's XML based document types. It is not automation per se (and doesn't use pywin32) but a library for pptx document manipulation.

https://pypi.python.org/pypi/python-pptx/

Docs are here

https://python-pptx.readthedocs.org/en/latest/

--Simon

Jaydeep Patil

unread,
Feb 24, 2014, 10:52:29 PM2/24/14
to
Hi Simon,

I need to use COM interface for PowerPoint generation.

So let me know any related docs?


Regards
Jaydeep

Mark Lawrence

unread,
Feb 25, 2014, 3:38:49 AM2/25/14
to pytho...@python.org
I don't need to read double spaced stuff so please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing it,
thanks.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com


sffj...@gmail.com

unread,
Feb 25, 2014, 6:33:59 AM2/25/14
to
On Tuesday, 25 February 2014 03:52:29 UTC, Jaydeep Patil wrote:
> I need to use COM interface for PowerPoint generation.

The following will get you started

http://nbviewer.ipython.org/github/sanand0/ipython-notebooks/blob/master/Office.ipynb

Then you'll need to interpret the Microsoft MSDN docs for anything else

http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.aspx

--Simon Kennedy
0 new messages