Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Status of XLRD reading .xlsx (Excel 2007)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Burke  
View profile  
 More options Jun 25, 11:16 am
From: Daniel Burke <dan.p.bu...@gmail.com>
Date: Thu, 25 Jun 2009 10:46:12 +0930
Local: Thurs, Jun 25 2009 11:16 am
Subject: Re: [pyxl] Status of XLRD reading .xlsx (Excel 2007)
xlsx files are zip archives with xml files in them, you can read them
with your favorite DOM parser if you're impatient.

regards,

dan
--
"It's your privilege as an artist to inflict the pain of creativity on
yourself." --Programming Perl 3rd Edition, end of first chapter.

On Thu, Jun 25, 2009 at 6:21 AM, Darryl Wallace<walla...@gmail.com> wrote:

> I know this has been asked in the past, but is support for
> reading .xlsx (Excel 2007) format closer to being complete?

> The reason I ask is because the included README.html mentions that
> support is scheduled for v0.7.1 which is the current version.  I tried
> to read a simple excel 2007 (under ubuntu linux, python 2.5.4) file
> and was greeted with the following error:
> ---
>>>> book = xlrd.open_workbook("myexcel2007book.xlsx")
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "xlrd/__init__.py", line 429, in open_workbook
>    biff_version = bk.getbof(XL_WORKBOOK_GLOBALS)
>  File "xlrd/__init__.py", line 1545, in getbof
>    bof_error('Expected BOF record; found %r' % self.mem[savpos:savpos
> +8])
>  File "xlrd/__init__.py", line 1539, in bof_error
>    raise XLRDError('Unsupported format, or corrupt file: ' + msg)
> xlrd.biffh.XLRDError: Unsupported format, or corrupt file: Expected
> BOF record; found 'PK\x03\x04\x14\x00\x06\x00'
> ---
> So my guess is that it's not ready and that's fine.  I was just
> interested in the status.

> Regards,
> Darryl


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google