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


Groups > comp.lang.python > #75770

Re: Controlling py.exe launcher on Windows

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'win32': 0.03; 'installed.': 0.07; 'versions,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'assume': 0.14; '(am': 0.16; '.py': 0.16; 'edward': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'trying': 0.19; 'version.': 0.19; 'starts': 0.20; 'command': 0.22; 'header:User- Agent:1': 0.23; 'specify': 0.24; 'looks': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'correct': 0.29; 'fixed': 0.29; 'skip:( 20': 0.30; 'file': 0.32; 'something': 0.35; 'version': 0.36; 'really': 0.36; 'doing': 0.36; 'wrong': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'launch': 0.39; 'received:71': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'according': 0.40; 'first': 0.61; 'different': 0.65; 'here': 0.66; 'default': 0.69; '2014,': 0.84; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Controlling py.exe launcher on Windows
Date Tue, 05 Aug 2014 19:29:26 -0400
References <lrr46j$6am$1@dont-email.me> <lrrnrc$v16$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-71-175-90-87.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <lrrnrc$v16$1@ger.gmane.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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12682.1407281409.18130.python-list@python.org> (permalink)
Lines 45
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407281409 news.xs4all.nl 2900 [2001:888:2000:d::a6]:32978
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75770

Show key headers only | View raw


On 8/5/2014 7:02 PM, Terry Reedy wrote:
> On 8/5/2014 1:27 PM, Edward Diener wrote:
>> I am trying to control the default version of the py.exe launcher on
>> Windows. I have the Python 2.7.8 and 3.4.1 installed with both the 32
>> bit and 64 bit versions, all in different directories. I assume that .py
>> and .pyw files are associated with the py.exe launcher.
>>
>> I am trying to control which version starts through a py.ini file in the
>> same directory as the py.exe file in the 3.4.1 version last installed.
>>
>> If I specify in the [defaults] section of py.ini:
>>
>> python=3.4
>>
>> then launching py.exe will show:
>>
>> Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64
>> bit (AM
>> D64)] on win32
>>
>> If I specify:
>>
>> python=3.4-32
>
> This looks correct according to the manual.
>
>>
>> then launching py.exe will show:
>>
>> Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit
>> (AMD64)] on win
>> 32
>>
>> Is it really true that I cannot specify the 32 bit version in the .ini
>> file or am I doing something wrong here ?
>
> First try > py -3.4-32 on the command line to make sure that py can find
> and launch that version.

I see you already fixed things by reinstalling.


-- 
Terry Jan Reedy

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


Thread

Controlling py.exe launcher on Windows Edward Diener <eldiener@tropicsoft.invalid> - 2014-08-05 13:27 -0400
  Re: Controlling py.exe launcher on Windows Edward Diener <eldiener@tropicsoft.invalid> - 2014-08-05 18:25 -0400
  Re: Controlling py.exe launcher on Windows Terry Reedy <tjreedy@udel.edu> - 2014-08-05 19:02 -0400
  Re: Controlling py.exe launcher on Windows Terry Reedy <tjreedy@udel.edu> - 2014-08-05 19:29 -0400

csiph-web