file unusable in MacOS Numbers after opening with openpyxl
I was editing an xlsx file with openpyxl and noticed that while the input file worked fine in macOS Numbers, the output file was not able to be opened. The output still works fine in normal excel, but I was hoping someone might be able help me understand what is going on here. I can also open a bug with apple if that is a better place for it.
All the code you need to reproduce the issue us:
from openpyxl import load_workbook workbook = load_workbook(filename='input.xlsx') workbook.save('output.xlsx')