xlwt set style making error: More than 4094 XFs (styles)

前端 未结 3 726
梦毁少年i
梦毁少年i 2021-01-02 02:58

I use Xlwt for writing an excel file. it\'s cells has some style (color, alignment ,borders , ... )

when i use XFStyle and set borders and other attr of style, in s

3条回答
  •  悲哀的现实
    2021-01-02 03:43

    I read and trace functions and methods that calls during execution.

    i find solution:

    wb = xlwt.Workbook(style_compression=2)
    

    use : style_compression=2

    its work!

提交回复
热议问题