python xlutils : formatting_info=True not yet implemented

前端 未结 1 2045
孤独总比滥情好
孤独总比滥情好 2020-12-09 17:04

I\'ve got simple code to copy files with xlutils, xlrd, xlwt (downloaded new libraries from python-excel.org) with not loosing formatting. I\'ve got an error as below:

相关标签:
1条回答
  • According to this thread the flag

    formatting_info=True
    

    is only working for xls-files, but not for xlsx yet (Version xlrd-0.8.0).

    As a workaround you could convert the workbook to xls using Excel or OpenOffice.

    It seems that a commandline conversion from xlsx to xls is possible using Unoconv on Linux, Windows and MacOSX.

    0 讨论(0)
提交回复
热议问题