Python 使用gspread将列表插入google工作表

Python 使用gspread将列表插入google工作表,python,google-sheets,google-sheets-api,gspread,Python,Google Sheets,Google Sheets Api,Gspread,列表=[['Akbar',1,34],'lata',1,56],'sita',5,45]] 我想把这个列表作为 gspread 3.0.1文档中提到了这一点。是否有直接的内容?与上一版本相同?(3.0.0) 这有帮助吗 for i in range(len(your_list)): l = your_list[i] for j in range(len(l)): x = l[j] spread_sheet.update_cell(i+1,j+1,

列表=[['Akbar',1,34],'lata',1,56],'sita',5,45]]

我想把这个列表作为

gspread 3.0.1文档中提到了这一点。是否有直接的内容?与上一版本相同?(3.0.0)

这有帮助吗

for i in range(len(your_list)):
    l = your_list[i]
    for j in range(len(l)):
        x = l[j]
        spread_sheet.update_cell(i+1,j+1,x)
spread_sheet.values_update(
             RANGE, 
             params={'valueInputOption': 'RAW'}, 
             body={'values': list}
         )
for i in range(len(your_list)):
    l = your_list[i]
    for j in range(len(l)):
        x = l[j]
        spread_sheet.update_cell(i+1,j+1,x)