Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54274
| Date | 2013-09-17 12:05 +0200 |
|---|---|
| From | Ervin Hegedüs <airween@gmail.com> |
| Subject | Re: MySQLdb Help |
| References | <CAAZP3kmMN0=f29ScOm9rMsLt2iVjU_kRNCU4E27pLZBuQoiW5g@mail.gmail.com> <7w1u4nzyrh.fsf@benfinney.id.au> <20130917084657.GB4565@arxnet.hu> <7wvc1zyf85.fsf@benfinney.id.au> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.56.1379412256.18130.python-list@python.org> (permalink) |
Hello, On Tue, Sep 17, 2013 at 07:22:50PM +1000, Ben Finney wrote: > Ervin Hegedüs <airween@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. yep', sorry, I'm confused. I just remember - maybe badly - once I used this form, and the 'row' continues the new sequence... But now I tried, and I see this presumtion is wrong. Sorry for disturbing, and thanks :) a.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: MySQLdb Help Ervin Hegedüs <airween@gmail.com> - 2013-09-17 12:05 +0200
csiph-web