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=ba46c586b4c1df977bf7bdcd711590bf,extracted it in my application's modules folder and I imported it (without local import). Whooshhhhhhhhhhhhh it worked!! Thank you very much. Reply me for party anytime!!!!!!!!
On 29 April 2012 00:27, Anthony <abasta...@gmail.com> wrote: > 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 /modules folder, you can now simply do: > > import xlrd > > Anthony >