On Sat, Jan 9, 2010 at 10:14 AM, Iuri <iurisil...@gmail.com> wrote:

> And you should use cursor.fetchall() instead of cursor in list
> comprehension:
>
> packageIDs = [itm[0] for itm in cursor.fetchall()]
>

Now, someone else on this list told me the other. Can you explain the
difference?
TIA,
beno
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to