On 2013-03-19 14:07, Neil Cerutti wrote: > On 2013-03-18, Ana Dion?sio <anadionisio...@gmail.com> wrote: > > But I still get the error and I use Excel 2010. > > > > I'm trying to export data in a list to Excel > > xlrd: Library for developers to extract data from Microsoft Excel > (tm). > > It is for *reading* Excel files, not writing them.
There's xlrd[1] for reading and xlwt[2] for writing native XLS files. If the OP needs greater control over things like formatting and formula-cells, I'd suggest xlwt, as CSV restricts you to shoveling around the data, not its formatting. -tkc [1] https://pypi.python.org/pypi/xlrd [2] https://pypi.python.org/pypi/xlwt -- http://mail.python.org/mailman/listinfo/python-list