Re: html inserted into csv file

2008-10-07 Thread jonknee
On Oct 7, 2:44 pm, Bobby Roberts <[EMAIL PROTECTED]> wrote: > This code drops all selected fields into a temporary csv file named > "contact.csv" so that it can be downloaded.  However, the template > HTML is being appended after the last record in the csv file. > > Is there any way to prevent th

html inserted into csv file

2008-10-07 Thread Bobby Roberts
HI group. I'm using the python csv writer to drop a csv file available for download/opening when a button is clicked on my site. The code is shown here myselchecks=selchecks sql="select * from inquiries where inquiry_id = (%s)" %myselchecks ctx.request.write_header('Content-Ty