7

I have found very few libraries in Python able to parse excel files, and none of them were in Python 3.x nor passed with success the 2to3 step.

What would be your suggestions ?

3 Answers 3

2

Have a look at Python Package Index (Pypi), section Python 3 . xlrd3 is a port of xlrd, a python 2.x lib to parse Excel files.

1

My suggestion would be to contact the authors of the libraries and help port them. It's not horribly hard and quite fun! Your only other option is to use Python 2, and that is obviously not as fun. :)

Possibly you could export to CSV as well, but I guess you would have if that was an option.

1
  • 1
    I've begun some work to port the library, but it seems to be quite complicated. Concerning the CSV option, as you guessed I can't ;) Commented Feb 20, 2011 at 15:00
1

xlsxwriter is a good tool I've found, and practically the only one for Python 3 that hasn't been discontinued. I know it works well with both Linux and Windows--LibreOffice in both Linux and Windows, and Excel in Windows.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.