Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31128
| References | (1 earlier) <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> |
|---|---|
| Date | 2012-10-12 03:58 +1100 |
| Subject | Re: for-loop on cmd-line |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2060.1349974728.27098.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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