Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
xlrd 0.8.0 released!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Chris Withers  
View profile  
 More options Aug 22 2012, 10:33 am
Newsgroups: comp.lang.python
From: Chris Withers <ch...@python.org>
Date: Wed, 22 Aug 2012 15:33:11 +0100
Local: Wed, Aug 22 2012 10:33 am
Subject: Re: xlrd 0.8.0 released!
On 22/08/2012 15:03, Hubert Holin wrote:

> I would like to keep up with the development but would like to know
> which is the repo to follow. The Python-Excel website points to
> https://github.com/python-excel/xlrd, but that one does not have a 0.8.0
> tag (or at least did not have one when I looked a few days ago, and I
> unfortunately can't check now, from work).

Oops, I was very bad... not only did I forget to push the tag (it's
annoying that you have to do a "git push --tags" to get tasg pushed) but
I actually forgot to commit the final change that stamped on the 0.8.0
version number :-S

Fixed and pushed now, thanks for noticing :-)

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk


 
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.
Discussion subject changed to "xlrd-0.8.0 .xlsx formatting_info=True not imlemented" by python-ex...@raf.org
python-ex...@raf.org  
View profile  
 More options Aug 28 2012, 10:24 pm
Newsgroups: comp.lang.python
From: python-ex...@raf.org
Date: Wed, 29 Aug 2012 12:16:46 +1000
Local: Tues, Aug 28 2012 10:16 pm
Subject: xlrd-0.8.0 .xlsx formatting_info=True not imlemented
hi,

i just tried xlrd-0.8.0 so as to be able to read xlsx files only to discover:

  NotImplementedError: formatting_info=True not yet implemented

there's a post from 2009 stating that the current intention is to not
support formatting_info:

  https://groups.google.com/forum/?fromgroups=#!topic/python-excel/Thso...

is that still the current intention?

if so, is there any other way to tell how many digits excel would round to
when displaying a floating point number? that's my only reason for needing
formatting_info=True.

cheers,
raf


 
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.
John Yeung  
View profile  
 More options Aug 29 2012, 9:27 am
Newsgroups: comp.lang.python
From: John Yeung <gallium.arsen...@gmail.com>
Date: Wed, 29 Aug 2012 09:27:01 -0400
Local: Wed, Aug 29 2012 9:27 am
Subject: Re: [pyxl] xlrd-0.8.0 .xlsx formatting_info=True not imlemented

> is there any other way to tell how many digits excel would round to
> when displaying a floating point number? that's my only reason for
> needing formatting_info=True.

I have not personally used it, but OpenPyXL is another option for
working with .xlsx files, and it might provide the formatting info you
need:

  http://packages.python.org/openpyxl/index.html
  http://pypi.python.org/pypi/openpyxl/1.5.8

John Y.


 
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.
Discussion subject changed to "xlrd-0.8.0 .xlsx formatting_info=True not implemented" by python-ex...@raf.org
python-ex...@raf.org  
View profile  
 More options Aug 29 2012, 10:58 pm
Newsgroups: comp.lang.python
From: python-ex...@raf.org
Date: Thu, 30 Aug 2012 12:57:58 +1000
Local: Wed, Aug 29 2012 10:57 pm
Subject: Re: [pyxl] xlrd-0.8.0 .xlsx formatting_info=True not implemented

John Yeung wrote:
> > is there any other way to tell how many digits excel would round to
> > when displaying a floating point number? that's my only reason for
> > needing formatting_info=True.

> I have not personally used it, but OpenPyXL is another option for
> working with .xlsx files, and it might provide the formatting info you
> need:

>   http://packages.python.org/openpyxl/index.html
>   http://pypi.python.org/pypi/openpyxl/1.5.8

> John Y.

thanks but openpyxl doesn't work well enough.
most of the spreadsheets i need to read contain
dropdown lists with data validation using a named
formula like: OFFSET(Data!$K$2,0,0,COUNTA(Data!$K:$K),1)
which causes openpyxl to throw a NamedRangeException.
i don't even care about the named objects. i just want
to know what's in the cell, not what other possible
values the cell might have had. :-)

apart from that, it does give access to number formats
so your suggestion would work for simpler spreadsheets.

hopefully the intention that xlrd not support formats in xlsx
files will change one day into an intention to support them. :-)

until then my users can keep manually saving xlsx files they
receive as xls before importing them. :-(

maybe i need to investigate some perl modules or pyuno instead.
perl's Spreadsheet::XSLX module handles formats. it gets the
date formats a bit wrong but it's workaroundable.

cheers,
raf


 
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.
Chris Withers  
View profile  
 More options Aug 30 2012, 3:42 am
Newsgroups: comp.lang.python
From: Chris Withers <ch...@python.org>
Date: Thu, 30 Aug 2012 08:42:30 +0100
Local: Thurs, Aug 30 2012 3:42 am
Subject: Re: [pyxl] xlrd-0.8.0 .xlsx formatting_info=True not implemented
On 30/08/2012 03:57, python-ex...@raf.org wrote:

> hopefully the intention that xlrd not support formats in xlsx
> files will change one day into an intention to support them. :-)

The intention is there, sadly the time to work on it is not.

John Machin would be the person best placed to do the work, if anyone
fancies sponsoring the work, he might be able to direct more time to it..

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk


 
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.
python-ex...@raf.org  
View profile  
 More options Sep 2 2012, 8:19 pm
Newsgroups: comp.lang.python
From: python-ex...@raf.org
Date: Mon, 3 Sep 2012 10:18:34 +1000
Local: Sun, Sep 2 2012 8:18 pm
Subject: Re: [pyxl] xlrd-0.8.0 .xlsx formatting_info=True not implemented

Albert-Jan Roskam wrote:
> Hi,

> As a work-around, you could use the CRAN R package XLConnect, using
> RPy or RPy2, to do what you want. IIRC it's based on Java, so it's not
> extremely fast.
> http://cran.r-project.org/web/packages/XLConnect/vignettes/XLConnect.pdf
> This is another package I just saw for the first time

> http://cran.r-project.org/web/packages/xlsx/xlsx.pdf

> Regards,
> Albert-Jan

hi,

many thanks for the suggestions but i've already implemented
an alternative using perl and its Spreadsheet::XLSX module.

cheers,
raf


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »