Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.094 X-Spam-Evidence: '*H*': 0.82; '*S*': 0.01; 'importing': 0.05; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'ah,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'posts': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'anyone': 0.31; 'another': 0.32; "i'd": 0.34; 'problem': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; 'dave': 0.60; 'mentioned': 0.61; 'simply': 0.61; 'making': 0.63; 'more': 0.64; '26,': 0.68; 'feeling': 0.68; 'angel': 0.91; 'yes!': 0.91; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=LjSX1eqLXUPEfBCOgSQWp0bbFlsOdxTFTcfijUCrULc=; b=sIC4q5kDrMEicEGSm3qKwViqChypDoq2UTMhm1Px+bczLiWAr84K+/7Fz9a3MIBBSH OrR9Uvk/w14kK0HxSa6/f7NCMU+npSb3umparvUh278P4DcAbBrXHl9X+3czh2xaRFxh SjmQvw8TkYoIlIDcYs5Dr+5r46S09UKkGzavInu4UC8O2B74xIm1biR8n1h1pNyzcMdf 00uJxO3QsIUflK8VGILDJJYbpkDr+4iHmtYDtyTocv+BAYg9G2AXxCzG7UmS5347xcRX oXTfPsQeKZocxnT14Tmy7O4MH4gddQZERT6HImsPg8OtddfYYUQ++U9O8uVDHAb4wUYg XS6g== MIME-Version: 1.0 X-Received: by 10.66.7.166 with SMTP id k6mr11577987paa.98.1388046274771; Thu, 26 Dec 2013 00:24:34 -0800 (PST) In-Reply-To: References: <20131226010126.GA17868@cskk.homeip.net> <52bbc1a5$0$29992$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 26 Dec 2013 19:24:34 +1100 Subject: Re: Variables in a loop, Newby question From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388046284 news.xs4all.nl 2865 [2001:888:2000:d::a6]:51806 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62734 On Thu, Dec 26, 2013 at 7:14 PM, Dave Angel wrote: > On Thu, 26 Dec 2013 16:41:57 +1100, Steven D'Aprano > wrote: >> >> Chris Angelico wrote: >> > Does anyone else have the vague feeling that the OP's problem > might be >> > better served by simply importing the script (thus making those > values >> > available to another Python script) than by any of these rather > more >> > complicated theories? >> Damn yes! > > I take it then that my posts are invisible. Ah, true. I'd only been skimming, and didn't see that you'd mentioned importing as well as IPC. ChrisA