Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > windows question: default click action points to wrong python version

Reply
Thread Tools

windows question: default click action points to wrong python version

 
 
Gelonida N
Guest
Posts: n/a
 
      11-21-2012
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?


 
Reply With Quote
 
 
 
 
Tim Golden
Guest
Posts: n/a
 
      11-21-2012
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: windows question: default click action points to wrong pythonversion Gelonida N Python 0 11-21-2012 07:30 PM
Re: windows question: default click action points to wrong pythonversion Tim Golden Python 0 11-21-2012 09:34 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM



Advertisments