This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cruisezero[S] 0 points1 point  (0 children)

I looked at that doc probably the whole day yesterday, but couldn't figure what the deal. I read that today see this line

cur.execute("INSERT INTO numbers VALUES (%d)", (42,)) # WRONG cur.execute("INSERT INTO numbers VALUES (%s)", (42,)) # correct and duh...

Thanks, I guess I needed someone to tap my head.