Simulate MS Office save using Python [closed]

4 days ago 2
ARTICLE AD BOX

I want to generate an Excel file and upload it to a website that only accepts .xlsx and .xls, but when I generate Excel using Pandas or Polars I am facing "invalid excel file" exception and when I save this file using Excel without any changes, it is uploaded correctly.

I want to do what MS Excel does without need to install MS Office on my machine (use a programming language like C# or Python). Can I?

jonrsharpe's user avatar

jonrsharpe

124k31 gold badges285 silver badges492 bronze badges

MoRe's user avatar

4

Read Entire Article