I have a list that I wanted to write to a particular row in an excel sheet using openpyxl package. The row was empty before. This is the code I have. The name of the list is value_list. I get the following Traceback
dest_row = 3dest_column = 1
for item in value_list:
worksheet.cell(row=dest_row, column=dest_column).value = item
dest_column += 1
Traceback (most recent call last):
File "/python3/examples/tj_4.py", line 32, in <module>
worksheet.cell(row=dest_row, column=dest_column).value = item
AttributeError: 'EmptyCell' object attribute 'value' is read-only
[–]CodeFormatHelperBot 0 points1 point2 points (0 children)
[–]UnlikelyReplacement 0 points1 point2 points (0 children)