Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54274

Re: MySQLdb Help

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <airween@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.121
X-Spam-Level *
X-Spam-Evidence '*H*': 0.78; '*S*': 0.02; 'badly': 0.09; 'cc:addr :python-list': 0.11; 'subject:Help': 0.11; 'finney': 0.16; 'iteration': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'sorry,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'continues': 0.31; 'sep': 0.31; 'writes:': 0.31; 'another': 0.32; 'maybe': 0.34; 'point.': 0.35; 'but': 0.35; 'there': 0.35; 'sequence': 0.36; 'thanks': 0.36; 'ben': 0.38; 'form,': 0.38; 'new': 0.61; 'from:charset:utf-8': 0.61; 'content- disposition:inline': 0.62; 'skip:\xe2 10': 0.65; '8bit%:43': 0.74; 'received:86': 0.91; 'received:hu': 0.93; '2013': 0.98
X-Spam-Flag NO
X-Spam-Score -1.909
X-Spam-Level
X-Spam-Status No, score=-1.909 tagged_above=-20 required=4 tests=[ALL_TRUSTED=-1, AWL=0.089, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9] autolearn=no
Date Tue, 17 Sep 2013 12:05:41 +0200
From Ervin Hegedüs <airween@gmail.com>
To Ben Finney <ben+python@benfinney.id.au>
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>
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
In-Reply-To <7wvc1zyf85.fsf@benfinney.id.au>
User-Agent Mutt/1.5.20 (2009-06-14)
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.56.1379412256.18130.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379412256 news.xs4all.nl 15994 [2001:888:2000:d::a6]:43847
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54274

Show key headers only | View raw


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


Thread

Re: MySQLdb Help Ervin Hegedüs <airween@gmail.com> - 2013-09-17 12:05 +0200

csiph-web