
Python
3
Вклад в тег
There is also the Worksheet.cell() method.
This provides access to cells using row and column notation:
> > > > > > > > > d = ws.cell(row= 4, column= 2, value= 10)
value = col # col - то значение которое вы хотите поместить в ячейку
cell = sheet.cell(row=row_index, column=col_index) #row_index и col_index соответственно номер строки и номер колонки(координаты нахождения ячейки)
cell.value = value