Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32693

Re: Google spreadsheets - getting started

Newsgroups comp.lang.python
Date 2012-11-03 04:03 -0700
References <7d42e442-15cb-47e9-b1d1-48ee334648c8@googlegroups.com>
Message-ID <4f36c90c-1d85-44f7-a642-9bc7d3b9a276@googlegroups.com> (permalink)
Subject Re: Google spreadsheets - getting started
From Mark Carter <alt.mcarter@gmail.com>

Show all headers | View raw


OK, maybe the p12 file is useful after all (?) I've got the following code:

import gdata

tokenfile = "my-privatekey.p12"
f = open(tokenfile, 'r')
blob = f.read()
f.close()
token = gdata.gauth.token_from_blob(blob)

When I run that I get:
Traceback (most recent call last):
  File "/home/mcarter/wapp.py", line 8, in <module>
    token = gdata.gauth.token_from_blob(blob)
AttributeError: 'module' object has no attribute 'gauth'

I guess I'm using a newer version of gdata (2.0.14). 

None of this makes any sense.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Google spreadsheets - getting started Mark Carter <alt.mcarter@gmail.com> - 2012-11-03 03:20 -0700
  Re: Google spreadsheets - getting started Mark Carter <alt.mcarter@gmail.com> - 2012-11-03 04:03 -0700
    Re: Google spreadsheets - getting started Mark Carter <alt.mcarter@gmail.com> - 2012-11-03 05:40 -0700

csiph-web