Unfortunately, there is no way to specify “AutoFit” for a column in the Excel file format. This feature is only available at runtime from within Excel. It is possible to simulate “AutoFit” by tracking the width of the data in the column as your write it.
这是不可能的,因为它不是文件格式的一部分。从XlsxWriterFAQ:
相关问题 更多 >
编程相关推荐