On Wednesday, January 4, 2017 at 3:26:47 AM UTC-8, yarecki wr wrote:
>
> Testing Anthony's method, although it looks simpler I get an 
>>> AttributeError saying Rows object has no attribute export_to_csv. Also I 
>>> added
>>>
>>  data = open(myfile).read
> in the same function I created for the export to txt and created a view 
> for it. This allowed me to get the data out of the text file. It doesn't 
> look as expected as all the properties are in form of a single string. No 
> spaces or line breaks whatsoever. Probably csv would be a better solution 
> but for now it doesn't work for me as described.
>

Book 'em, Danno:
<URL:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#CSV--one-Table-at-a-time-
>


/dps "what taglines did they put in the reboot?"

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to