Another way around this would be to generate the csv file in the controller instead of in the view. Set the appropriate headers and the simply return outfile.getvalue() from the controller and your browser will download the csv file generated in the controller.
- [web2py] StringIO.StringIO + csv.writer puts a bunch of e... Nate Atkinson
- [web2py] Re: StringIO.StringIO + csv.writer puts a b... Anthony
- [web2py] Re: StringIO.StringIO + csv.writer puts... Nate Atkinson
- [web2py] Re: StringIO.StringIO + csv.writer ... Anthony
- Re: [web2py] Re: StringIO.StringIO + csv... Khalil KHAMLICHI
- [web2py] Re: StringIO.StringIO + csv.writer puts a b... Brian M

