Google spreadsheets - getting started

Mark Carter alt.mcarter at gmail.com
Sat Nov 3 07:03:30 EDT 2012


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.



More information about the Python-list mailing list