Στις 5/11/2013 11:10 πμ, ο/η M.F. έγραψε:
On 11/05/2013 04:54 PM, Nick the Gr33k wrote:
===============
data = cur.fetchall
data = cur.fetchall()
That is what the stack trace and Christ tried to inform you.
for row in data:
===============
The only thing i can understand by looking the above 2 lines is this:
'for' fails to iterate over 'data' because for some reason 'data'
haven't resulted as a list of rows that can be iterated row by row.
But that just doesn't help me much.
I see, but because of the traceback not being to express it more easily
i was under the impression that data wasn't what i expected it to be.
--
https://mail.python.org/mailman/listinfo/python-list