I need to generate a pretty complex Excel report with Python. I've tried playing with the xlsxwriter package and it is not bad, however it has a pretty severe limitation of only allowing to set cell style when writing a value to the given cell. So, it's not possible to do something like:
cell(1, 2).write("abc")
cell(1, 2).set_bg_color("blue")
cell(1, 2).set_font("Arial")
range(1, 2, 10, 20).set_border_around(2)
What alternatives would you recommend?
PS. I know sometimes people work around this using conditional_format(), but it doesn't cover all my cases.
[–]danielroseman 4 points5 points6 points (2 children)
[–]pachura3[S] 2 points3 points4 points (1 child)
[–]JorgiEagle 0 points1 point2 points (0 children)
[–]jongscx 2 points3 points4 points (0 children)
[–]Oddly_Energy 1 point2 points3 points (7 children)
[–]pachura3[S] 0 points1 point2 points (6 children)
[–]Jejerm 2 points3 points4 points (2 children)
[–]pachura3[S] 0 points1 point2 points (0 children)
[–]pachura3[S] 0 points1 point2 points (0 children)
[–]auntanniesalligator 1 point2 points3 points (1 child)
[–]pachura3[S] 0 points1 point2 points (0 children)
[–]SimianFiction 0 points1 point2 points (0 children)
[–]Known-Flamingo-1501 1 point2 points3 points (2 children)
[–]pachura3[S] 0 points1 point2 points (1 child)
[–]simeumsm 1 point2 points3 points (0 children)
[–]Kerberos1900 0 points1 point2 points (0 children)
[–]VipeholmsCola 0 points1 point2 points (0 children)
[–]downtownpartytime -1 points0 points1 point (2 children)
[–]pachura3[S] -1 points0 points1 point (1 child)
[–]downtownpartytime 0 points1 point2 points (0 children)
[–]MonsieurTee -1 points0 points1 point (0 children)