Reputation: 942
Is it possible to insert list to Excel column using xlsxwriter library?
This is my current script:
list = ['a','b','c','d']
for letter in list
list.append(letter)
worksheet.write('A1', list)
Can anybody could give me a simple insert of list so that I can have my reference?
Upvotes: 1
Views: 23952
Reputation: 630
Use:
worksheet.write_column('A1', list)
docs: https://xlsxwriter.readthedocs.org/worksheet.html#write_column
Upvotes: 5