getting error...... Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python25\Lib\site-packages\xlrd\__init__.py", line 370, in open_workbook biff_version = bk.getbof(XL_WORKBOOK_GLOBALS) File "C:\Python25\Lib\site-pack

pk sahoo prasannaksahoo at gmail.com
Thu Dec 4 23:31:01 EST 2008


hallo everybody,
when i am running the following command

>>> import xlrd
>>> book=xlrd.open_workbook("C:\\a.xls")

i am getting the following error..


*Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python25\Lib\site-packages\xlrd\__init__.py", line 370, in
open_workb
ook
    biff_version = bk.getbof(XL_WORKBOOK_GLOBALS)
  File "C:\Python25\Lib\site-packages\xlrd\__init__.py", line 1323, in
getbof
    raise XLRDError('Expected BOF record; found 0x%04x' % opcode)
xlrd.biffh.XLRDError: Expected BOF record; found 0x3f3c*

what is the reason....
pz help me out..

regards
prasanna


*


*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081205/62874f67/attachment-0001.html>


More information about the Python-list mailing list