Cross-platform way to read Excel files in Python?

I have (Excel 2000) workbooks. I want to extract the data in each sheet into a separate file.

I work on Linux.

Is there a library that I can use to access (read) XLS files on Linux from Python?

+3
source share
4 answers

Get xlrd from PyPI . Also go to the python-excel website to learn about (a) the tutorial (b) discussion group (c) xlwtand xlutils.

[Dis]: xlrd xlwt ( pyExcelerator ).

+3

The easiest way is to run excel under Wine or as a virtual machine and do it from Windows. You can use the COM Mark Hammond bindings that ship with ActiveState Python. In addition, you can export data in CSV format and read them from it.

0
source

I have used pyexcelerator for this purpose in the past with good results.

-1
source

Source: https://habr.com/ru/post/1778519/


All Articles