Good afternoon.
In my project I need to generate xls files by content of the database.
I found for this python library xlwt, but I fased with a problem - how to format the cell so that the cell dimensions adjust to content? I.e. I need, that the cell width stretched, and if still not enough, cell height stretched and the contents came in a few lines.
Library docs very limited. I have looked in the githabe examples, but not found the solution of this problem.
I have wrote to the group on Google, which discusses the work of the xlwt library, but my message have not even posted in access (not passed moderation).
Can someone tell me here?
Or maybe some more convenient tool for solving my problem?
You can style the text like given below in sample code.
The wrap on will wrap the text.