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


Groups > comp.lang.python > #75762

Re: Python 3.4.1 install does not create a file association for .py files on Windows

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Python 3.4.1 install does not create a file association for .py files on Windows
Date 2014-08-05 18:16 -0400
References <lrrbns$2sk$1@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.12679.1407277003.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 8/5/2014 3:36 PM, Edward Diener wrote:
> I install Python 3.4.1 64-bit on Windows. After the install I type:

I have done the same, on Win 7, but I had previous installs going back 3 
years on this machine.

> assoc .py
>
> and I get back:
>
> File association not found for extension .py

I get
C:\Users\Terry>assoc .py
.py=Python.File

C:\Users\Terry>assoc .pyw
.pyw=Python.NoConFile

C:\Users\Terry>assoc .pyo
.pyo=Python.CompiledFile

C:\Users\Terry>assoc .pyc
.pyc=Python.CompiledFile

None of this specifies the program, which is currently Python Launcher 
for Windows (console).  (See Control Panel / Default Programs / Set 
Associations.)

> Why does not the Python install to associate extension .py with the
> Python Launcher for Windows ?

Somewhere during the install, there is a checkbox or something about 
grabbing file associations or about making the install the default 
version. I do not remember.

-- 
Terry Jan Reedy

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


Thread

Python 3.4.1 install does not create a file association for .py files on Windows Edward Diener <eldiener@tropicsoft.invalid> - 2014-08-05 15:36 -0400
  Re: Python 3.4.1 install does not create a file association for .py files on Windows Terry Reedy <tjreedy@udel.edu> - 2014-08-05 18:16 -0400
    Re: Python 3.4.1 install does not create a file association for .py files on Windows Edward Diener <eldiener@tropicsoft.invalid> - 2014-08-05 18:24 -0400

csiph-web