Re: Google spreadsheets - getting started

2012-11-03 Thread Mark Carter
OK, the story so far: import gdata import gdata.auth import gdata.gauth import gdata.docs.service import OpenSSL.crypto tokenfile = "privatekey.p12" #f = open(tokenfile, 'r') #blob = f.read() #f.close() #if blob: p12 = OpenSSL.crypto.load_pkcs12(file(tokenfile, 'rb').read(), 'notasecret') print

Re: Google spreadsheets - getting started

2012-11-03 Thread Mark Carter
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/wa

Re: Google spreadsheets

2007-09-02 Thread Michele Simionato
On Sep 2, 7:13 pm, [EMAIL PROTECTED] (Alex Martelli) wrote: > iapain <[EMAIL PROTECTED]> wrote: > > On Aug 31, 5:40 pm, Michele Simionato <[EMAIL PROTECTED]> > > wrote: > > > I would like to upload a tab-separated file to a Google spreadsheet > > > from Python. Does anybody > > > have a recipe hand

Re: Google spreadsheets

2007-09-02 Thread Alex Martelli
iapain <[EMAIL PROTECTED]> wrote: > On Aug 31, 5:40 pm, Michele Simionato <[EMAIL PROTECTED]> > wrote: > > I would like to upload a tab-separated file to a Google spreadsheet > > from Python. Does anybody > > have a recipe handy? TIA, > > > > Michele Simionato > > Probably its irrelevant to p

Re: Google spreadsheets

2007-08-31 Thread iapain
On Aug 31, 5:40 pm, Michele Simionato <[EMAIL PROTECTED]> wrote: > I would like to upload a tab-separated file to a Google spreadsheet > from Python. Does anybody > have a recipe handy? TIA, > > Michele Simionato Probably its irrelevant to python. Use should see Google Spreadsheet API and use