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


Groups > comp.lang.python > #75764

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

From Edward Diener <eldiener@tropicsoft.invalid>
Newsgroups comp.lang.python
Subject Re: Python 3.4.1 install does not create a file association for .py files on Windows
Date 2014-08-05 18:24 -0400
Organization A noiseless patient Spider
Message-ID <lrrli7$8a6$1@dont-email.me> (permalink)
References <lrrbns$2sk$1@dont-email.me> <mailman.12679.1407277003.18130.python-list@python.org>

Show all headers | View raw


On 8/5/2014 6:16 PM, Terry Reedy wrote:
> 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.
>

I uninstalled all my Python versions and then re-installed each one. Now 
the correct file association has been made. Something was fouled up in 
the installation process which is now fixed.

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