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


Groups > comp.lang.python > #31130

RE: for-loop on cmd-line

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 <ramit.prasad@jpmorgan.com>
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" <ramit.prasad@jpmorgan.com>
To "python-list@python.org" <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 <E7295A9F2EFF4FD0A64C1225370AAC56@dev.null> <20121011081607.46014e3d@dilbert> <mailman.2047.1349961261.27098.python-list@python.org> <mailman.2048.1349961393.27098.python-list@python.org> <029d1272-68a7-4313-92f7-760e5bec141d@googlegroups.com> <61F66C1735DA4E1496AAE9A0BD68E436@dev.null> <CAPTjJmrxM6sDKL+JjzNLV6Bgoi4=17XdzwtbT9opYGi6bgr8Ag@mail.gmail.com>
In-Reply-To <CAPTjJmrxM6sDKL+JjzNLV6Bgoi4=17XdzwtbT9opYGi6bgr8Ag@mail.gmail.com>
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 <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.2063.1349986347.27098.python-list@python.org> (permalink)
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

Show key headers only | View raw


Chris Angelico wrote:
> On Fri, Oct 12, 2012 at 3:49 AM, Gisle Vanem <gvanem@broadpark.no> wrote:
> > <wxjmfauth@gmail.com> wrote in comp.lang.python
> >
> > (my ISP no longer updates this group. Last message is from 8. April.
> > Does the postings to the python mailing-list automatically get reposted to
> > comp.lang.python?)
> 
> Yes, c.l.p and python-list mirror each other.
> 
> >> C:\Windows\system32\python32.zip
> >> c:\python32\DLLs
> >
> >
> > I see a similar result:
> >  f:\Windows\system32\python27.zip
> >
> > Where is it determined that python27.zip should be in sys.path?
> > I have no such file anywhere. I'm using ActivePython 2.7.2.
> 
> It's in sys.path in the three Windows Pythons I have here:
> 
> C:\Documents and Settings\M>python -c "import sys; print(sys.version); print('\n
> '.join(sys.path))"
> 2.4.5 (#1, Jul 22 2011, 02:01:04)
> [GCC 4.1.1]
> 
> C:\Program Files\LilyPond\usr\lib\python24.zip
> C:\Program Files\LilyPond\usr\lib\python2.4
> C:\Program Files\LilyPond\usr\lib\python2.4\plat-mingw32
> C:\Program Files\LilyPond\usr\lib\python2.4\lib-tk
> C:\Program Files\LilyPond\usr\lib\python2.4\lib-dynload
> C:\Program Files\LilyPond\usr\lib\python2.4\site-packages
> 
> C:\Documents and Settings\M>\python26\python -c "import sys; print(sys.version);
>  print('\n'.join(sys.path))"
> 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
> 
> C:\WINDOWS\system32\python26.zip
> C:\python26\DLLs
> C:\python26\lib
> C:\python26\lib\plat-win
> C:\python26\lib\lib-tk
> C:\python26
> C:\python26\lib\site-packages
> 
> C:\Documents and Settings\M>\python32\python -c "import sys; print(sys.version);
>  print('\n'.join(sys.path))"
> 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)]
> 
> C:\WINDOWS\system32\python32.zip
> C:\python32\DLLs
> C:\python32\lib
> C:\python32
> C:\python32\lib\site-packages
> C:\python32\lib\site-packages\win32
> C:\python32\lib\site-packages\win32\lib
> C:\python32\lib\site-packages\Pythonwin
> 
> C:\Documents and Settings\M>
> 
> Presumably it's so that I can zip up my entire Python library and toss
> it into a convenient file. I don't think it costs much to stat a file
> and find it's not there before moving on, so it's not a problem to
> leave it there.
> 
> ChrisA

Interesting, my results are slightly different. Here is what I 
get from (one of) my Python installs.

2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
C:\ramit\Python27\python27.zip
C:\ramit\Python27\DLLs
C:\ramit\Python27\lib
C:\ramit\Python27\lib\plat-win
C:\ramit\Python27\lib\lib-tk
C:\ramit\Python27
C:\ramit\Python27\lib\site-packages

Ramit

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

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


Thread

Re: for-loop on cmd-line Chris Angelico <rosuav@gmail.com> - 2012-10-12 00:14 +1100
  Re: for-loop on cmd-line Ramchandra Apte <maniandram01@gmail.com> - 2012-10-11 06:16 -0700
    Re: for-loop on cmd-line Chris Angelico <rosuav@gmail.com> - 2012-10-12 00:20 +1100
  Re: for-loop on cmd-line Ramchandra Apte <maniandram01@gmail.com> - 2012-10-11 06:16 -0700
    Re: for-loop on cmd-line wxjmfauth@gmail.com - 2012-10-11 09:24 -0700
      Re: for-loop on cmd-line Chris Angelico <rosuav@gmail.com> - 2012-10-12 03:32 +1100
      Re: for-loop on cmd-line Gisle Vanem <gvanem@broadpark.no> - 2012-10-11 18:49 +0200
      Re: for-loop on cmd-line Chris Angelico <rosuav@gmail.com> - 2012-10-12 03:58 +1100
      RE: for-loop on cmd-line "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-11 20:12 +0000
    Re: for-loop on cmd-line wxjmfauth@gmail.com - 2012-10-11 09:24 -0700

csiph-web