Search code examples
pythonexcelexcel-2007openpyxl

Python: Writing to Excel 2007+ files (.xlsx files)


Is there a Python module that writes Excel 2007+ files?
I'm interested in writing a file longer than 65535 lines and only Excel 2007+ supports it.


Solution

  • There are two libraries you can take a look at.

    Python-xlsx and PyXLSX

    EDIT: As the comments mention, for writing you check out openpyxl