[SQLObject] Re: unknown column table creation..novice
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Philippe N. <sw...@fr...> - 2004-08-19 15:19:03
|
>> >> rows =3D zip(headers,cell) >> line_item =3D MailList.new(*rows) >> > >Try: > >MailList.new(**rows) > Woops, this won't work i think, you have to build a dictionnary to be able to use **. So: rows =3D dict(zip(headers,cell)) line_item =3D MailList.new(**rows) |