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


Groups > comp.lang.python > #66414

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.200
X-Spam-Level *
X-Spam-Evidence '*H*': 0.74; '*S*': 0.14; 'skip:[ 20': 0.04; 'python3': 0.07; 'sys': 0.07; 'reinstall': 0.09; 'cmd': 0.16; 'run:': 0.16; 'subject:python': 0.16; 'example': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'skip:p 30': 0.29; 'to:no real name:2**1': 0.29; 'code': 0.31; 'skip:# 10': 0.33; 'subject:the': 0.34; 'problem': 0.35; 'test': 0.35; 'there': 0.35; 'too': 0.37; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'tell': 0.60; 'received:62': 0.63; 'received:192.168.13': 0.84; 'received:192.168.13.238': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:edge03.upcmail.net': 0.84; 'received:upcmail.net': 0.84; 'to:addr:mail': 0.91; 'this!': 0.93; 'serious': 0.97
X-SourceIP 89.134.227.148
Date Sat, 15 Feb 2014 12:25:19 +0100
From Nagy László Zsolt <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version 1.0
To python-list@python.org, mail@timgolden.me.uk
Subject Re: Install python 2 and 3 in the "wrong" order
References <52FCB228.5040301@shopzeus.com> <52FCB389.3070402@timgolden.me.uk>
In-Reply-To <52FCB389.3070402@timgolden.me.uk>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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.6982.1392463549.18130.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392463549 news.xs4all.nl 2923 [2001:888:2000:d::a6]:55243
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66414

Show key headers only | View raw


>  From a cmd window:
>
> ftype python.file="C:\Windows\py.exe" "%1" %*
>
> ftype python.noconfile="C:\Windows\pyw.exe" "%1" %*
There is a serious problem with this! Example code test.py:

#!/usr/bin/env python3
import sys
print(sys.argv)

Test run:

C:\Temp>test.py 1 2 3
['C:\\Temp\\test.py']

This is too bad! Can somebody tell me what would be the good setup for 
py.exe? Do I have to reinstall Python3 with all libs? :-s

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


Thread

Re: Install python 2 and 3 in the "wrong" order Nagy László Zsolt <gandalf@shopzeus.com> - 2014-02-15 12:25 +0100

csiph-web