MySQLdb Help

Ben Finney ben+python at benfinney.id.au
Tue Sep 17 05:22:50 EDT 2013


Ervin Hegedüs <airween at gmail.com> writes:

> Hello,
>
> On Tue, Sep 17, 2013 at 05:35:30PM +1000, Ben Finney wrote:
> >     for row in cur.fetchall():
>
> and what if in body of iteration there is another fetchall()? :)

Yes, what if? Each call to ‘fetchall’ returns a sequence of rows. I
don't see your point.

-- 
 \      “The most common way people give up their power is by thinking |
  `\                               they don't have any.” —Alice Walker |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list