On 5 April 2011 09:16, Johann Spies <[email protected]> wrote:
>
> Thanks! That solved the problem. I could not find something in the book
> about a 'zero option' though.
>
>
Now .represent works on the screen but not in the CSV-output. I have used:
{{
import cStringIO
stream=cStringIO.StringIO()
rows.export_to_csv_file(stream,represent=True)
response.headers['Content-Type']='application/vnd.ms-excel'
response.write(stream.getvalue(), escape=False)
}}
but putting the option 'represent=True) in there did not make any
difference.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord! His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
2 Pet. 1:2b,3a