如何使用 pyexcelerator 的 xlwt util 为整行着色
该实用程序讨论了一个名为此的函数,
style0 = xlwt.easyxf(
'font: name Times New Roman, colour_index red'
)
也有 color red
而不是 color_index
。
是否有任何规定可以为整行着色?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可用于为行添加颜色...
然后你可以添加你想要的颜色..
This can be used to add color to row...
then u can add the color u want..
您在 python-excel 论坛上提出了这个问题,并得到了全面 “nofollow”>回答...
顺便说一下:
xlwt
是pyExcelerator
的一个分支,修复了错误并进行了许多增强。pyExcelerator
实际上已被放弃。You asked this question on the python-excel forum and got a comprehensive answer there ...
By the way:
xlwt
is a fork ofpyExcelerator
, with bug-fixes and many enhancements.pyExcelerator
is effectively abandoned.