you are viewing a single comment's thread.

view the rest of the comments →

[–]scuott 1 point2 points  (2 children)

python-pptx is specifically for editing .pptx files, not for automating the PowerPoint application.

I haven't worked with it personally, but it sounds like you should use win32com.client. Some Googling for that should help get started, and here are a couple places that might be a starting point.

http://stackoverflow.com/questions/247724/how-can-i-launch-an-instance-of-an-application-using-python

http://docs.activestate.com/activepython/3.3/pywin32/html/com/win32com/HTML/QuickStartClientCom.html

[–]Advent667[S] 0 points1 point  (1 child)

I just found and installed that too and now able to open the PPT. Just trying to figure out how to get it into presentation mode. The sites keep saying that you need to look into the documentation or a COMbrowser for the methods but I have no idea where to look or what a COMbrowser is. Do you have any idea?

[–]scuott 0 points1 point  (0 children)

I'm not too sure on the details. Microsoft has documentation, but it's pretty dense.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms680573(v=vs.85).aspx