On Tue, Dec 4, 2012 at 4:10 PM, Peter Connell <Peter.Connell@xxxxxxxxxx> wrote:
Do you if there is support for the reverse XLS(x) to CSV?
You can read XLS and XLSX files using the xlrd package, which is
written and maintained by the same guy responsible for xlwt. Python
comes with its own CSV module, so once you're able to read data from
the Excel file, it's rather trivial to write to CSV.
Note that for writing Excel files, xlwt only supports XLS. Right now,
the best Python package I know of for writing to XLSX is openpyxl. It
also reads XLSX but doesn't know how to do anything at all with XLS.
It's written by someone else, and the design is very different from
xlrd and xlwt. I have tried all of these on the i, and they all work,
as far as I can tell.
(to read XLS and XLSX)
(to write XLS)
(to read and write XLSX)