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

Date 2014-02-15 12:25 +0100
From Nagy László Zsolt <gandalf@shopzeus.com>
Subject Re: Install python 2 and 3 in the "wrong" order
References <52FCB228.5040301@shopzeus.com> <52FCB389.3070402@timgolden.me.uk>
Newsgroups comp.lang.python
Message-ID <mailman.6982.1392463549.18130.python-list@python.org> (permalink)

Show all headers | 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