xlsx and xlsm files return badzipfile: file is not a zip file

前端 未结 13 1622
灰色年华
灰色年华 2020-12-30 05:48

I\'m trying to open both an xlsx file and an xlsm file both give me the same error

badzipfile: file is not a zip file

here is wh

13条回答
  •  -上瘾入骨i
    2020-12-30 06:30

    The xlsx file may have password and you are not granted to access. Delete the password and you can use openpyxl.load_workbook() to access it.

提交回复
热议问题