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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'subject:not': 0.03; 'subject:Python': 0.06; '64-bit': 0.07; 'subject:file': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:create': 0.09; 'subject:files': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; '.py': 0.16; 'edward': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:install': 0.16; 'wrote:': 0.18; 'version.': 0.19; 'install': 0.23; 'header:User-Agent:1': 0.23; 'specifies': 0.24; 'subject: .': 0.24; '(see': 0.26; 'extension': 0.26; 'somewhere': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'program,': 0.31; 'install,': 0.31; 'file': 0.32; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'machine.': 0.36; 'done': 0.36; 'skip:. 20': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'does': 0.39; 'received:71': 0.39; 'skip:. 10': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'back': 0.62; 'making': 0.63; 'panel': 0.68; 'default': 0.69; 'associations': 0.84; 'grabbing': 0.84; 'received:fios.verizon.net': 0.84; 'same,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
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 Tue, 05 Aug 2014 18:16:15 -0400
References <lrrbns$2sk$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-71-175-90-87.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <lrrbns$2sk$1@dont-email.me>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12679.1407277003.18130.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407277003 news.xs4all.nl 2863 [2001:888:2000:d::a6]:35260
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75762

Show key headers only | 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