Tuesday, 20 July 2021

How to set automatically the width of a column in xlsxwriter

I'm getting lost of using worksheet.set_column all the time. Is there any possibility of setting the width of all columns automatically?

What would be the Python function that simulates it? (using only xlsxwriter library):

def autofit(filename, worksheet_name):
  # ???


from How to set automatically the width of a column in xlsxwriter

No comments:

Post a Comment