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


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

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

Started byNagy László Zsolt <gandalf@shopzeus.com>
First post2014-02-15 12:25 +0100
Last post2014-02-15 12:25 +0100
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 Nagy László Zsolt <gandalf@shopzeus.com> - 2014-02-15 12:25 +0100

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

FromNagy László Zsolt <gandalf@shopzeus.com>
Date2014-02-15 12:25 +0100
SubjectRe: Install python 2 and 3 in the "wrong" order
Message-ID<mailman.6982.1392463549.18130.python-list@python.org>
>  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

[toc] | [standalone]


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


csiph-web