On Wednesday, January 21, 2015 at 5:17:49 PM UTC-8, Dave S wrote:
>
>
>
> On Wednesday, January 21, 2015 at 1:24:36 PM UTC-8, Yebach wrote:
>  
>
>> and one more question. Is there a way to name column headers in csv?
>>
>>
> Exporting, that seems to be done for you.
>
> <URL:
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=import+csv#CSV--one-Table-at-a-time-
> >
> mentions that the import function looks for column names in the CSV header.
> In the appadmin database interface, I update one of my tables with a CSV 
> file all the time, and the first line of my file is
> id,colname1,colname2, etc
>
>
> A quick look at dal.py suggests that the importer doesn't support comment 
lines.

/dps
 

-- 
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