Read images from excel using python

3,457 views
Skip to first unread message

python-excel-kid

unread,
Jun 8, 2010, 9:58:13 AM6/8/10
to python-excel
I wanted to read images/graphs inside an excel file using python. Is
there a way i can either

a. Read the image/graph directly from an excel file
b. Read an image/graph file from excel and store in separately as an
image file.

Can i use xlrd or any other module to do the above?

Thanks for your help

John Machin

unread,
Jun 9, 2010, 10:17:50 AM6/9/10
to python...@googlegroups.com

As the "readme" file says, not with xlrd.

You should be able to do it on Windows with the COM component of pywin32
-- see http://sourceforge.net/projects/pywin32/ for the download and
google("pywin32 com excel") for how-to pointers

python-excel-kid

unread,
Jun 9, 2010, 11:14:55 AM6/9/10
to python-excel
Thank you!

On Jun 9, 10:17 am, John Machin <sjmac...@lexicon.net> wrote:
> On 8/06/2010 11:58 PM, python-excel-kid wrote:
>
> > I wanted to read images/graphs inside an excel file using python. Is
> > there a way i can either
>
> > a. Read the image/graph directly from an excel file
> > b. Read an image/graph file from excel and store in separately as an
> > image file.
>
> > Can i use xlrd or any other module to do the above?
>
> As the "readme" file says, not with xlrd.
>
> You should be able to do it on Windows with the COM component of pywin32
> -- seehttp://sourceforge.net/projects/pywin32/for the download and

dannyla

unread,
Jun 24, 2010, 1:56:55 AM6/24/10
to python-excel
Hi Python-Excel-Kid,

I also need to read an Excel Graph and save it to an image file. Did
you ever get around the issue with using Python for the task? If so,
mind to share your code?

Thanks.

-Dla
> > -- seehttp://sourceforge.net/projects/pywin32/forthe download and
> > google("pywin32 com excel") for how-to pointers- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages