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


Groups > comp.lang.python > #44958

Re: MySQL Database

References <CAN4UfGzbtM1vtW4EvmjYq0gDAcCzaQTJrPKhuk=VTTTwgH7sZQ@mail.gmail.com>
Date 2013-05-09 04:56 +1000
Subject Re: MySQL Database
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1452.1368039422.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

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


Thread

Re: MySQL Database Chris Angelico <rosuav@gmail.com> - 2013-05-09 04:56 +1000

csiph-web