Category : google-docs-api

I am trying to calculate numbers in parallel and put them into cells in a google spreadsheet. The following is my code: import multiprocessing, ezsheets ss = ezsheets.Spreadsheet(spreadsheet_url) sheet2 = ss[1] def myfunc(inputs): a = sum(inputs) sheet2[‘A1’]=a return processes = [] for i in range(1,5): p = multiprocessing.Process(target=myfunc, args=[[1,2,3]]) p.start() processes.append(p) for process in processes: ..

Read more

I tried the following: {‘updateParagraphStyle’: { ‘paragraphStyle’: { ‘namedStyleType’: "NORMAL_TEXT", ‘alignment’: "END", ‘direction’: "LEFT_TO_RIGHT", ‘borderBottom’: { ‘width’: {‘magnitude’: 1.5, ‘unit’: "PT"}, ‘padding’: {‘magnitude’: 1, ‘unit’: "PT"}, ‘dashStyle’: "SOLID" }, ‘tabStops’: [ { ‘offset’: { ‘magnitude’: 431.84999999999997, ‘unit’: ‘PT’ }, ‘alignment’: ‘END’ } ], }, ‘range’: {‘startIndex’: 1, ‘endIndex’: 10}, ‘fields’: "tabStops,namedStyleType,alignment,direction,borderBottom" }} but it complains ..

Read more