Closed pdenapo closed 1 year ago
Yes, it has an empty sheet with default french name. Apparently you don't like French ? It is a feature that was requested years ago that a default empty .ods document was not absolutely empty, like expected by some libreoffice users.
A safe way to start on an empty document is clear():
doc = Document("spreadsheet") # missing line in your example doc.body.clear() # clear the body before append things.
(Other ways are possible)
If you struggle with odfdo for with numeric content in .ods files, you can try this tools based on odfdo: odsgenerator and odsparsator
I have created a test ods document using the following code:
It has an empty extra empty sheet "Feuille 1" !