Domanda

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?

È stato utile?

Soluzione

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"

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top