[Zope-CMF] xls File Writer!

seb bacon seb at jamkit.com
Mon Oct 27 18:28:27 EST 2003


The csv module in python 2.3 uses the Excel CSV dialect by default.

seb

Mitch Pirtle wrote:
> On Mon, 2003-10-27 at 13:30, Ibrahim Mubarak wrote:
> 
>>Hi,
>>
>>I am looking for a product that can help me write excel spreed sheets (xls, and I fear that the
>>files can't be XML, or any other format :( ) from zope. I am running a Plone intranet site on Zope
>>2.6.1 with python 2.1 on a Win32 box. The ideal solution would be one that would also work under
>>Linux as there are plans to move the server to a Linux box soon enough.
> 
> 
> Depends on what kind of spreadsheet you want to generate.  If it is
> simply data, one trick I used in the past included outputting CSV with
> an .xls extension...  It fools Excel into opening the document as a
> spreadsheet, and automatically converts the CSV data on the fly.
> 
> YMMV.




More information about the Zope-CMF mailing list