471,354 Members | 1,472 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

having problem using xlrd

Hello,

I tried using xlrd to read an Excel file and kept getting this error:

AttributeError: 'Book' object has no attribute 'mem'
>>import xlrd
p = r'C:\2.xls'
wb = xlrd.open_workbook(p)
wb.get_sheets()
AttributeError: 'Book' object has no attribute 'mem'
>>wb.get_record_parts()
AttributeError: 'Book' object has no attribute 'mem'

Any hint?

Thanks!

p.s. i tried posting the question at the python-excel mailing list.
but it seems failed. if it shows up later, sorry for crossposting.
Nov 21 '07 #1
1 1470
FYI, this question has been answered in python-excel group. Thanks.
Nov 22 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by tkpmep | last post: by
2 posts views Thread by kylancal | last post: by
1 post views Thread by JYOUNG79 | last post: by
1 post views Thread by Krishna | last post: by
3 posts views Thread by Chanman | last post: by
2 posts views Thread by patrick.waldo | last post: by
5 posts views Thread by Albert-jan Roskam | last post: by
reply views Thread by Albert-jan Roskam | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.