I have rows in file like :
20040701 0 20040701 0 1 52.965366 61.777687 57.540783
I want to put that in a dynamic array if it's possible ?
Something like
try:
clients = [
(107, "Ella", "Fitzgerald"),
(108, "Louis", "Armstrong"),
(109, "Miles", "Davis")
]
cur.executemany("INSERT INTO clients (id, firstname, lastname) \
VALUES (?, ?, ?)", clients )
except:
pass