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


Groups > comp.lang.python > #75747

Controlling py.exe launcher on Windows

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Edward Diener <eldiener@tropicsoft.invalid>
Newsgroups comp.lang.python
Subject Controlling py.exe launcher on Windows
Date Tue, 05 Aug 2014 13:27:44 -0400
Organization A noiseless patient Spider
Lines 35
Message-ID <lrr46j$6am$1@dont-email.me> (permalink)
Reply-To eldiener@tropicsoft.com
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 5 Aug 2014 17:27:47 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="2a7756b7b62a88cd01ab9b5515644f27"; logging-data="6486"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+J90aYC5QLm6JV1ab2S6nvcML0GV7svjM="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Cancel-Lock sha1:RRbP1Qj6VjwmEbJj5+Utpa5XLac=
Xref csiph.com comp.lang.python:75747

Show key headers only | View raw


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

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 ?




Back to comp.lang.python | Previous | NextNext 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