NO able to use Xlrd module in python

Posted by user1065102 on Stack Overflow See other posts from Stack Overflow or by user1065102
Published on 2012-09-13T09:36:09Z Indexed on 2012/09/13 9:38 UTC
Read the original article Hit count: 201

Filed under:
|
|

Question: i M not able to use xlrd module though i have installed the same???

Error obtained :

Traceback (most recent call last): File "D:\xlrd_1.py", line 1, in import xlrd File "D:\Python31\lib\xlrd__init__.py", line 345 u"Consolidate_Area": u"\x00", ^ SyntaxError: invalid syntax

Code : import xlrd print ("hi")

Some more description:

1)i m using python 3.1, 2)i have installed xlrd-0.7.1.win32.exe (md5) taken from http://pypi.python.org/pypi/xlrd/0.7.1. 3)able to see the xlrd package in python\Lib\Site-packages 4)tried copying to include file also which didnt work.

Need help on this..searched stackoverflow for the same problem as well as else where i didnt find answer so posting the same

Appreciate for any help on the same

© Stack Overflow or respective owner

Related posts about module

Related posts about python-3.x