Re: [web2py] Read excel sheet in web2py

2012-04-28 Thread RAHUL PRIYADARSI
Dear All, Thank you very much for your reply. I was getting this error because as Anthony pointed out "That just means you didn't install or import the module correctly. ".So I downloaded xlrd from this link: http://pypi.python.org/packages/source/x/xlrd/xlrd-0.7.7.tar.gz#md5=ba46c586b4c1df977bf7bd

Re: [web2py] Read excel sheet in web2py

2012-04-28 Thread Anthony
> > That just means you didn't install or import the module correctly. Both > are easy. > > Place the xlrd folder hierarchy in the modules folder of your app. > > Then import it with: > xlrd = local_import('xlrd') > Note, local_import has been deprecated. Even for modules in the applicatio

Re: [web2py] Read excel sheet in web2py

2012-04-28 Thread Gary Herron
On 04/28/2012 09:32 AM, rahulserver wrote: I wish to read an excel sheet in web2py.I tried few samples from python codes which use the xlrd object.However in web2py, when I import the xlrd object, I get the following error: No module named xlrd So why is it like that? And is there

[web2py] Read excel sheet in web2py

2012-04-28 Thread rahulserver
I wish to read an excel sheet in web2py.I tried few samples from python codes which use the xlrd object.However in web2py, when I import the xlrd object, I get the following error: No module named xlrd So why is it like that? And is there any way to read an excel file without converting it t