After you do:
sheet.write(0, 1, 'whatevs')
Is it still possible to adjust the style of cell 0,1. The reason I am asking is that I have a list of errors I loop and I would like to color all the cells red that have an error.
I could do it when I write the cell but it will make my code a little more complex.
There is no API exposed to do it, you could look at the source code and come up with a way:
You can get the styleindex by adding a style you created.
wbis a Workbook object andwsyour Worksheet.Beware: this isn’t meant to be done this way, but I couldn’t find another.