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


Groups > comp.lang.python > #66171 > unrolled thread

Re: Install python 2 and 3 in the "wrong" order

Started byTim Golden <mail@timgolden.me.uk>
First post2014-02-13 11:59 +0000
Last post2014-02-13 11:59 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Install python 2 and 3 in the "wrong" order Tim Golden <mail@timgolden.me.uk> - 2014-02-13 11:59 +0000

#66171 — Re: Install python 2 and 3 in the "wrong" order

FromTim Golden <mail@timgolden.me.uk>
Date2014-02-13 11:59 +0000
SubjectRe: Install python 2 and 3 in the "wrong" order
Message-ID<mailman.6835.1392292756.18130.python-list@python.org>
On 13/02/2014 11:53, Nagy László Zsolt wrote:
> I have Python 3.3 installed on my Windows 7 x64 box. Today I had to
> install Python 2.7 for an older app of mine.
> 
> Here is my problem: although "#!/usr/bin/env python3" is given in the
> file and "py -3" program works fine, apparently the installation of
> python 2 simply has overwritten my settings (e.g. assignment *.py files
> to py.exe).
> 
> Question: is there a way to fix this? Or do I have to reinstall Python 3
> from scratch? (It would be a pity, I have tons of third party modules
> installed for it...)

>From a cmd window:

ftype python.file="C:\Windows\py.exe" "%1" %*

ftype python.noconfile="C:\Windows\pyw.exe" "%1" %*

TJG

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web