Financial Python

Studies in Finance and Python

Posts Tagged ‘win32

Python and Powerpoint

leave a comment »

I recently talked to someone who was interested in integrating the different MS-Office products programmatically. The obvious solution is VBA, since it’s built-in. I have no desire to learn VBA, but Python does offer the win32 COM interface. I’d almost forgotten since I’ve been using a Mac for a while. Anyway, I ran across this short tutorial on using COM and Python to automate the creation of powerpoint slides. I used COM with excel a while back, but it was slow (and thus turned to the very nice xlwt/xlrd combo to manipulate excel files). Nevertheless, I can see it coming in handy if you are constantly updating slides with essentially the same, but more recent, data.

Written by DK

August 8, 2009 at 2:55 pm

Posted in Finance, Python

Tagged with ,