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


Groups > comp.lang.python > #44959

Re: MySQL Database

References <CAN4UfGzbtM1vtW4EvmjYq0gDAcCzaQTJrPKhuk=VTTTwgH7sZQ@mail.gmail.com> <CAPTjJmosQnSU=1W1tfbiJy7DSz3YV5njsFAj0kOghMemZSAXoQ@mail.gmail.com>
Date 2013-05-08 15:04 -0400
Subject Re: MySQL Database
From Kevin Holleran <kdawg44@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1453.1368039875.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, May 8, 2013 at 2:56 PM, Chris Angelico <rosuav@gmail.com> wrote:

> On Thu, May 9, 2013 at 4:52 AM, Kevin Holleran <kdawg44@gmail.com> wrote:
> > Will using db_c to update the database mess up the loop that is cycling
> > through db_c.fetchall()?
>
> Nope; fetchall() returns a list, which you're then iterating over.
> Nothing the database does can disrupt that.
>
> ChrisA
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Awesome.  That was my hope...

Thanks for your help & quick response.

Kevin

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: MySQL Database Kevin Holleran <kdawg44@gmail.com> - 2013-05-08 15:04 -0400

csiph-web