manipulating PowerPoint with Python?
Anand Pillai
pythonguy at Hotpop.com
Sat Jun 28 16:19:17 EDT 2003
I dont know of any package which does that.
If you want to just dump the images out of a ppt, you can use
this recipe in ASPN.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189862
Searching in the vaults of parnassus(http://www.vex.net/parnassus/)
and in freshmeat.net might help you.
~Anand
"Aurélien Géron" <ageron at HOHOHOHOvideotron.ca> wrote in message news:<bdhros$kl2$1 at biggoron.nerim.net>...
> > Hi. Has anyone ever written scripts to extract data from PowerPoint using
> > Python? I know I could dredge through the VB examples in MSDN, and
> > translate, but if someone's already done this, I'd be grateful for a few
> > examples. (I have slides done in PPT that I want to convert to simple
> > HTML --- using "Save as HTML" in PPT creates a lot more goo than I want to
> > have to wade through.)
> >
> > Thanks,
> > Greg
>
> Couldn't you use "Save as HTML" in PPT and then write a simple parser that
> would remove the goo? I really don't know which is better because I haven't
> seen your ppt generated HTML files, but it's another direction you may want
> to look at.
>
> BTW, you may want to check out:
> http://www.python.org/doc/current/lib/module-htmllib.html
>
> Or find some other parser:
> http://www.google.com/search?q=python+html+parser
>
> Hope this helps,
> Aurélien
More information about the Python-list
mailing list