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


Groups > comp.lang.python > #44959

Re: MySQL Database

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <kdawg44@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.067
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'mess': 0.09; 'cc:addr :python-list': 0.11; 'awesome.': 0.16; 'iterating': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'thu,': 0.19; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '&gt;': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'received:209.85.217': 0.29; 'kevin': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'that.': 0.31; 'subject:Database': 0.31; 'url:python': 0.33; 'received:209.85': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'list,': 0.38; 'pm,': 0.38; 'does': 0.39; 'url:mail': 0.40; "you're": 0.61; 'to:addr:gmail.com': 0.65; 'response.': 0.68; 'disrupt': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=gtwAfm5xfVa1sD151krRp61Jxp29X3UYO6mzxZhUpg4=; b=FGbofqq890YrZ5HMrQjBuWAfyoJp+I3P5vEm7Jrm6bPZ13OPEeEBAiE8xRwY74Ig3i VcKYJy0jLjaw/iV8/CmfOLJJmhCcIbrSPef/AWtR4YJ2SELEyqbFL0G8EUmSlZ4fFCh3 cITV6XJNwXNozWMSxkGwdzXMkrgUa+OWWyuXGMpiXarVSU9E+Mo80groGU4t1/8haejz N6r5mDcKhNWTMn3pT1kfVJkWn+SB2/rbBhzbZFrxUkgF9x5u+rO9mBkrYRQIsE/SLM8k t0oFF8ZiLqfha2Kb+/T1KcfVsFOKCe65b10AQXxd1MyAwtkxG5Af7+AFXKsxkdh23JUq 8tIA==
MIME-Version 1.0
X-Received by 10.112.144.165 with SMTP id sn5mr3852531lbb.48.1368039867471; Wed, 08 May 2013 12:04:27 -0700 (PDT)
In-Reply-To <CAPTjJmosQnSU=1W1tfbiJy7DSz3YV5njsFAj0kOghMemZSAXoQ@mail.gmail.com>
References <CAN4UfGzbtM1vtW4EvmjYq0gDAcCzaQTJrPKhuk=VTTTwgH7sZQ@mail.gmail.com> <CAPTjJmosQnSU=1W1tfbiJy7DSz3YV5njsFAj0kOghMemZSAXoQ@mail.gmail.com>
Date Wed, 8 May 2013 15:04:27 -0400
Subject Re: MySQL Database
From Kevin Holleran <kdawg44@gmail.com>
To Chris Angelico <rosuav@gmail.com>
Content-Type multipart/alternative; boundary=047d7b3a843656df6904dc399a38
Cc "python-list@python.org" <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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1453.1368039875.3114.python-list@python.org> (permalink)
Lines 56
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368039875 news.xs4all.nl 15973 [2001:888:2000:d::a6]:34161
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44959

Show key headers only | 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