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


Groups > comp.lang.python > #33709 > unrolled thread

windows question: default click action points to wrong python version

Started byGelonida N <gelonida@gmail.com>
First post2012-11-21 09:23 +0100
Last post2012-11-21 21:14 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  windows question: default click action points to wrong python version Gelonida N <gelonida@gmail.com> - 2012-11-21 09:23 +0100
    Re: windows question: default click action points to wrong python version Tony the Tiger <tony@tiger.invalid> - 2012-11-21 14:53 -0600
      Re: windows question: default click action points to wrong python version Tim Golden <mail@timgolden.me.uk> - 2012-11-21 21:14 +0000

#33709 — windows question: default click action points to wrong python version

FromGelonida N <gelonida@gmail.com>
Date2012-11-21 09:23 +0100
Subjectwindows question: default click action points to wrong python version
Message-ID<mailman.133.1353486194.29569.python-list@python.org>
Hi,

I installed python 2.6 and python 2.7 on a windows 7 machine.

At the moment Python 2.7 is the interpreter being used if I 'start' a 
python script without explicit interpreter.

I always thought, that 'repairing' Python 2.6 (reinstalling it) would 
set the default settings back to Python 2.6.

I also see with assoc / ftypes, that python 2.6. has now been configured 
as default.

However when I click on a script it is still started with 2.7.
(even after a full restart of the machine)

This is really surprising to me.
I thought ftype is the command to change file associations.

What am I missing?

[toc] | [next] | [standalone]


#33769

FromTony the Tiger <tony@tiger.invalid>
Date2012-11-21 14:53 -0600
Message-ID<WZ-dnYEI382qojDNnZ2dnUVZ7rCdnZ2d@giganews.com>
In reply to#33709
On Wed, 21 Nov 2012 09:23:00 +0100, Gelonida N wrote:

> What am I missing?

The PATH environment variable?


 /Grrr
-- 
          ___                  ___
 (\_--_/)  | _ ._    _|_|_  _   |o _  _ ._
 ( 9  9 )  |(_)| |\/  |_| |(/_  ||(_|(/_|
 stripes are forever - as overripe ferrets

[toc] | [prev] | [next] | [standalone]


#33772

FromTim Golden <mail@timgolden.me.uk>
Date2012-11-21 21:14 +0000
Message-ID<mailman.176.1353532467.29569.python-list@python.org>
In reply to#33769
On 21/11/2012 20:53, Tony the Tiger wrote:
> On Wed, 21 Nov 2012 09:23:00 +0100, Gelonida N wrote:
>
>> What am I missing?
>
> The PATH environment variable?

Nope. PATH doesn't affect either double-clicking or running a .py file 
on the command line (unless, obviously, you run it by typing "python 
myscript.py").

TJG

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web