Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #7

Open
Hyperrick opened this issue Feb 26, 2021 · 3 comments
Open

IndexError: list index out of range #7

Hyperrick opened this issue Feb 26, 2021 · 3 comments

Comments

@Hyperrick
Copy link

Hello,

I want to use pyxlsb2 for reading an .xlsb file. I found some files which doesn't seem to open while other work.
Opening with pyxlsb works, pyxlsb2 not.

I have two files:

  1. x.xlsb (works)
  2. y.xlsb (doesn't work)

Source code:

from pyxlsb2 import open_workbook

with open_workbook("y.xlsb") as wb:
    for sheet in wb.sheets:
        print(sheet)

I can't find any difference in the files. Their both are .xlsb. files. I need to see if the files have any hidden worksheets. This is not possible with pyxlsb only with pyxlsb2 as I know so far.

Best regards

Patrick

@DissectMalware
Copy link
Owner

Can you please share the sample files so I can also check?

@Hyperrick
Copy link
Author

Can you please share the sample files so I can also check?

Sure, i've attached it here (anonymized
test_file.zip

).

@Hyperrick
Copy link
Author

Bump any updates on this? May I can assist with anything?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants