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:
type 'exceptions.ImportError' No module named xlrd
So why is it like that? And is there any way to read an excel
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:
type 'exceptions.ImportError' No module named xlrd
So why
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
application's
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:
4 matches
Mail list logo