windows question: default click action points to wrong python version

G

Gelonida N

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?
 
T

Tim Golden

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top