0

The util talks about a function called this

style0 = xlwt.easyxf(
'font: name Times New Roman, colour_index red'
)

there is color red instead of color_index too .

Is there any provision to color the entire row?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Vinod K
  • 1,885
  • 11
  • 35
  • 45

2 Answers2

1
pattern: pattern solid

This can be used to add color to row... then u can add the color u want..

pattern: pattern solid,fore-color "COLOR NAME"
0

You asked this question on the python-excel forum and got a comprehensive answer there ...

By the way: xlwt is a fork of pyExcelerator, with bug-fixes and many enhancements. pyExcelerator is effectively abandoned.

John Machin
  • 81,303
  • 11
  • 141
  • 189