1

Excel can autofit row height and column width. It can also Middle Align, Left Align and Wrap Text.

Could anybody show me how to achieve these with xlsxwriter?

https://support.microsoft.com/en-us/office/change-the-column-width-and-row-height-72f5e3cc-994d-43e8-ae58-9774a0905f46

https://support.microsoft.com/en-us/office/align-text-in-a-cell-b2489a1f-6c89-45b7-9562-bbc287aa71ea

martineau
  • 112,593
  • 23
  • 157
  • 280
user1424739
  • 9,707
  • 10
  • 48
  • 96

1 Answers1

1

There is quite an extensive discussion of the simulated auto-fit functionality already in the answers to this question. The alignment functions are explained in this part of the xlsxwriter documentation.

Franz
  • 277
  • 3
  • 7