使用gspread将列表插入到google工作表中

2024-09-23 00:20:11 发布

您现在位置:Python中文网/ 问答频道 /正文

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

我要把这个名单作为

enter image description here

cell_list = worksheet.range('A1:C7')

for cell in cell_list:
    cell.value = 'O_o'

# Update in batch
worksheet.update_cells(cell_list)

gspread3.0.1文档中提到了这一点,有什么直接的吗?像以前的版本?(3.0.0)

^{pr2}$

Tags: in列表forvaluea1cellupdaterange