python script to read google spreadsheet

Dan M dan at catfolks.net
Mon Nov 1 16:03:41 CET 2010


On Mon, 01 Nov 2010 01:14:09 -0700, charu gangal wrote:

> This is the page i am getting on localhost 8080. The code is showing me
> thr result only in Eclipse but not through google app engine launcher.
> 
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 3211, in _HandleRequest
>     self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
>   File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 3154, in _Dispatch
>     base_env_dict=env_dict)
>   File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 527, in Dispatch
>     base_env_dict=base_env_dict)
>   File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 2404, in Dispatch
>     self._module_dict)
>   File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 2314, in ExecuteCGI
>     reset_modules = exec_script(handler_path, cgi_path, hook)
>   File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 2210, in ExecuteOrImportScript
>     exec module_code in script_module.__dict__
>   File "C:\Users\Admin\Pythonworkspace\pythonsample12\src
> \engineapp202\main.py", line 4, in <module>
>     import gdata.spreadsheet.service
> ImportError: No module named gdata.spreadsheet.service

I'm something of a Python newbie, but could Eclipse be modifying your 
PYTHONPATH by adding the directory in which gdata.spreadsheet.service is 
installed?



More information about the Python-list mailing list