Hi sean, wrapping the python script in a dtml method is quite obscure ;) Whats the use of this? Regards Tino --On Mittwoch, 16. Oktober 2002 08:41 -0700 sean.upton@uniontrib.com wrote:
I use something very similar with a python script, but I'm using tabs '\t' as delimters, and also wrapping the python script that outputs delimited text with a dtml-method that does the following before calling the said python script:
<dtml-call expr="RESPONSE.setHeader('Content-type', 'application/csv')">
Perhaps the trick is to name the file with an .xls extension, but the mime-type stays csv?
Sean
-----Original Message----- From: Andreas Tille [mailto:tillea@rki.de] Sent: Wednesday, October 16, 2002 8:08 AM To: Zope user list Subject: [Zope] Re: CSV (Was: Perl scripts)
On Wed, 16 Oct 2002, Tino Wildenhain wrote:
for the buggy-as-hell Excel, the trick is to name the .csv File .xls Then Excel can split the columns correctly. I tried it with exactly the same example - without any success :-(. (Also Gnumeric shows one single column instead of three.)
Kind regards
Andreas.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )