I think you'll have to manually change the column names in the file, either by hand or via Python code.
Anthony On Wednesday, January 13, 2016 at 7:33:20 AM UTC-5, goome wrote: > > Hi > i created i table definition in db.py by using csvstudio.py, but i cannot > load the values through db.table.import_from_csv_file becouse the header in > the csv have spaces and uppercases. > So there a way to tell import_from_csv_file how to map column in csv with > that in table definition? > By the way, column in csv are in the same order than in table definition. > Thanks > -- 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.