python XlsxWriter set border around multiple cells
问题 I need an easy way to set border around multiple cells, like so: All I found was border of 1 cell, and merge cells, which is not what I need. I was expecting for something like: worksheet.range_border(first_row, first_col, last_row, last_col) Is there a way that this can be done (that is not involving setting top_border, bottom_border, left_border, right_border for each cell individually)? 回答1: XlsxWriter is an awesome module that made my old job 1,000x easier (thanks John!), but formatting