Re: PySQLite Table indexing inside a functions

2004-12-02 Thread Kevin
Hello Again, It may be cleaner if I reduce the code: def PARSE2DB(data,tablename): i = 0 cadu = GETdb().cursor() FacetNum = len(data [1]) while i < FacetNum: cadu.execute(""" insert into table = 'tablename' ( V1_x, V1_y, V1_z) values(%f, %f, %f)

PySQLite Table indexing inside a functions

2004-12-02 Thread Kevin
Hello Everyone, I'm using PySQLite and would like to index this insert statement with the 'tablename'. Can anyone offer a suggestion? Also, this is a shot in the dark. Has anyone done anything with nested fields. I would like each vertex to have 3 points. currently, I'm just making 3 fields.