Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'completeness': 0.07; 'python': 0.09; 'of)': 0.09; 'received:155': 0.09; 'toss': 0.09; 'library': 0.15; 'skip:f 30': 0.15; 'slightly': 0.15; '"import': 0.16; '(#1,': 0.16; 'april.': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'mailing- list': 0.16; 'oct': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:159.53.110': 0.16; 'received:169.70': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'result:': 0.16; 'securities,': 0.16; 'sys.path': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'feb': 0.19; 'to:name:python-list@python.org': 0.20; 'file.': 0.20; 'bit': 0.21; '3.2': 0.22; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'wrote': 0.26; 'leave': 0.26; 'am,': 0.27; 'accuracy': 0.27; 'there.': 0.28; 'chris': 0.28; '(my': 0.29; 'mirror': 0.29; 'received:169': 0.29; "i'm": 0.29; "skip:' 10": 0.30; 'fri,': 0.30; 'header:Received:8': 0.30; 'on,': 0.30; 'file': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'nov': 0.35; 'skip:f 40': 0.35; 'similar': 0.35; 'there': 0.35; '12,': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'does': 0.37; 'subject:: ': 0.38; '2010,': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'subject:-': 0.40; 'think': 0.40; 'here:': 0.62; 'information,': 0.63; 'url:email': 0.63; 'costs': 0.64; 'other.': 0.64; 'here': 0.65; 'legal': 0.65; 'results': 0.65; 'jul': 0.65; 'subject': 0.66; 'purchase': 0.67; 'sale': 0.76; '2.7.1': 0.84; 'anywhere.': 0.84; 'different.': 0.84; 'interesting,': 0.84; 'presumably': 0.84; 'received:169.254.8': 0.84 X-DKIM: OpenDKIM Filter v2.1.3 sj1.jpmchase.com q9BKCJxC007989 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1349986339; bh=yBwh1vOUGuUHBA6dhFmb+/PoMr3deTT9hT8Zvx9KyjI=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=pflipyXDW3tJS8LaC6sSen8inqmICdYwsc0WnDvcyd82f4FAEiSCs7s3ng+E5TgQb 7qVdBACDe14yqGBzAubCjqUQvws39m5qTuG4ADWWTv5jVK0PcNxzs2gWwopOAp1zPZ HeUDztEk/wHIqsxToxnUzfBSayX5evrRvU0rpF4k= From: "Prasad, Ramit" To: "python-list@python.org" Subject: RE: for-loop on cmd-line Thread-Topic: for-loop on cmd-line Thread-Index: AQHNp9BgtyrXhjdOOUqeNs01KKylFJe0lsaA///xufA= Date: Thu, 11 Oct 2012 20:12:06 +0000 References: <20121011081607.46014e3d@dilbert> <029d1272-68a7-4313-92f7-760e5bec141d@googlegroups.com> <61F66C1735DA4E1496AAE9A0BD68E436@dev.null> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.79.47] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="us-ascii" 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: 47 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349986347 news.xs4all.nl 6897 [2001:888:2000:d::a6]:41162 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31130 Chris Angelico wrote:=0D=0A> On Fri, Oct 12, 2012 at 3:49 AM, Gisle Vanem <= gvanem@broadpark=2Eno> wrote:=0D=0A> > wrote in com= p=2Elang=2Epython=0D=0A> >=0D=0A> > (my ISP no longer updates this group=2E= Last message is from 8=2E April=2E=0D=0A> > Does the postings to the pytho= n mailing-list automatically get reposted to=0D=0A> > comp=2Elang=2Epython?= )=0D=0A> =0D=0A> Yes, c=2El=2Ep and python-list mirror each other=2E=0D=0A>= =0D=0A> >> C:\Windows\system32\python32=2Ezip=0D=0A> >> c:\python32\DLLs= =0D=0A> >=0D=0A> >=0D=0A> > I see a similar result:=0D=0A> > f:\Windows\sy= stem32\python27=2Ezip=0D=0A> >=0D=0A> > Where is it determined that python2= 7=2Ezip should be in sys=2Epath?=0D=0A> > I have no such file anywhere=2E I= 'm using ActivePython 2=2E7=2E2=2E=0D=0A> =0D=0A> It's in sys=2Epath in the= three Windows Pythons I have here:=0D=0A> =0D=0A> C:\Documents and Setting= s\M>python -c "import sys; print(sys=2Eversion); print('\n=0D=0A> '=2Ejoin(= sys=2Epath))"=0D=0A> 2=2E4=2E5 (#1, Jul 22 2011, 02:01:04)=0D=0A> [GCC 4=2E= 1=2E1]=0D=0A> =0D=0A> C:\Program Files\LilyPond\usr\lib\python24=2Ezip=0D= =0A> C:\Program Files\LilyPond\usr\lib\python2=2E4=0D=0A> C:\Program Files\= LilyPond\usr\lib\python2=2E4\plat-mingw32=0D=0A> C:\Program Files\LilyPond\= usr\lib\python2=2E4\lib-tk=0D=0A> C:\Program Files\LilyPond\usr\lib\python2= =2E4\lib-dynload=0D=0A> C:\Program Files\LilyPond\usr\lib\python2=2E4\site-= packages=0D=0A> =0D=0A> C:\Documents and Settings\M>\python26\python -c "im= port sys; print(sys=2Eversion);=0D=0A> print('\n'=2Ejoin(sys=2Epath))"=0D= =0A> 2=2E6=2E5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v=2E1500 32 bit (In= tel)]=0D=0A> =0D=0A> C:\WINDOWS\system32\python26=2Ezip=0D=0A> C:\python26\= DLLs=0D=0A> C:\python26\lib=0D=0A> C:\python26\lib\plat-win=0D=0A> C:\pytho= n26\lib\lib-tk=0D=0A> C:\python26=0D=0A> C:\python26\lib\site-packages=0D= =0A> =0D=0A> C:\Documents and Settings\M>\python32\python -c "import sys; p= rint(sys=2Eversion);=0D=0A> print('\n'=2Ejoin(sys=2Epath))"=0D=0A> 3=2E2 (= r32:88445, Feb 20 2011, 21:29:02) [MSC v=2E1500 32 bit (Intel)]=0D=0A> =0D= =0A> C:\WINDOWS\system32\python32=2Ezip=0D=0A> C:\python32\DLLs=0D=0A> C:\p= ython32\lib=0D=0A> C:\python32=0D=0A> C:\python32\lib\site-packages=0D=0A> = C:\python32\lib\site-packages\win32=0D=0A> C:\python32\lib\site-packages\wi= n32\lib=0D=0A> C:\python32\lib\site-packages\Pythonwin=0D=0A> =0D=0A> C:\Do= cuments and Settings\M>=0D=0A> =0D=0A> Presumably it's so that I can zip up= my entire Python library and toss=0D=0A> it into a convenient file=2E I do= n't think it costs much to stat a file=0D=0A> and find it's not there befor= e moving on, so it's not a problem to=0D=0A> leave it there=2E=0D=0A> =0D= =0A> ChrisA=0D=0A=0D=0AInteresting, my results are slightly different=2E He= re is what I =0D=0Aget from (one of) my Python installs=2E=0D=0A=0D=0A2=2E7= =2E1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v=2E1500 32 bit (Intel)]=0D= =0AC:\ramit\Python27\python27=2Ezip=0D=0AC:\ramit\Python27\DLLs=0D=0AC:\ram= it\Python27\lib=0D=0AC:\ramit\Python27\lib\plat-win=0D=0AC:\ramit\Python27\= lib\lib-tk=0D=0AC:\ramit\Python27=0D=0AC:\ramit\Python27\lib\site-packages= =0D=0A=0D=0ARamit=0D=0A=0D=0AThis email is confidential and subject to impo= rtant disclaimers and=0D=0Aconditions including on offers for the purchase = or sale of=0D=0Asecurities, accuracy and completeness of information, virus= es,=0D=0Aconfidentiality, legal privilege, and legal entity disclaimers,=0D= =0Aavailable at http://www=2Ejpmorgan=2Ecom/pages/disclosures/email=2E