Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I put up my thumb... and it blotted out the planet Earth. -- Neil Armstrong


devel / comp.lang.python / Re: How to have python 2 and 3 both on windows?

SubjectAuthor
o Re: How to have python 2 and 3 both on windows?Sunil KR

1
Re: How to have python 2 and 3 both on windows?

<mailman.194.1650647895.20749.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17966&group=comp.lang.python#17966

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: krli...@yahoo.com (Sunil KR)
Newsgroups: comp.lang.python
Subject: Re: How to have python 2 and 3 both on windows?
Date: Fri, 22 Apr 2022 17:17:52 +0000 (UTC)
Lines: 30
Message-ID: <mailman.194.1650647895.20749.python-list@python.org>
References: <961537273.97366.1650604079384.ref@mail.yahoo.com>
<961537273.97366.1650604079384@mail.yahoo.com>
<1766896259.80347.1650605332904@mail.yahoo.com>
<404643965.199417.1650647872236@mail.yahoo.com>
Reply-To: Sunil KR <krlinus@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de V/3pAZhvXUeekD2vOZkRVQPjyfEqIBd5uGMQEZ31K91g==
Return-Path: <krlinus@yahoo.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=yahoo.com header.i=@yahoo.com header.b=jDrzAc3w;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.021
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'error:': 0.05;
'subject:python': 0.06; '"""': 0.09; 'installer': 0.09; 'skip:^
10': 0.09; 'url:mailman': 0.15; 'problem.': 0.15; '2022,': 0.16;
'impossible': 0.16; 'pdt,': 0.16; 'python3': 0.16; 'python3.':
0.16; 'solves': 0.16; 'subject:windows': 0.16; 'sunil': 0.16;
'typing': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python': 0.16;
"can't": 0.17; 'installing': 0.19; 'to:addr:python-list': 0.20;
'install': 0.23; 'subject:How': 0.23; 'idea': 0.24; 'to:name
:python-list@python.org': 0.24; 'url-ip:188.166.95.178/32': 0.25;
'url-ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'cannot':
0.25; 'url-ip:188.166/16': 0.25; 'tried': 0.26; 'friday,': 0.26;
'old': 0.27; 'greatly': 0.28; 'email addr:python.org&gt;': 0.28;
'url-ip:188/8': 0.31; 'python-list': 0.32; 'but': 0.32; 'windows':
0.34; 'same': 0.34; 'appreciated.': 0.34; 'header:In-Reply-To:1':
0.34; 'running': 0.34; "skip:' 10": 0.37; 'file': 0.38; 'could':
0.38; 'use': 0.39; 'rest': 0.39; '22,': 0.40; 'reply-
to:addr:yahoo.com': 0.61; 'above': 0.62; 'skip:\xc2 10': 0.62;
'here': 0.62; 'follow': 0.62; 'complete': 0.64; 'upon': 0.64;
'box': 0.65; 'content': 0.72; 'causing': 0.75; 'subject:have':
0.75; 'formatting': 0.76; 'header:Reply-To:1': 0.79; 'position':
0.81; 'happens': 0.84; 'decode': 0.84; 'email name:&lt;python-
list': 0.84; 'error)': 0.84; 'opt': 0.89
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1650647892; bh=gtBeav7p2mdRxxpn1FQAW6KUUZv4lOW2EPSWr0OQdEc=;
h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject:Reply-To;
b=jDrzAc3wvs9CFZ5st3zKdyntTPjyqYTiVru9cEkPlcc1tlFAMwah1UmO9cK370poQLvQjeJn/H+TPZDr+6+omQwoeghpPPijr7ioLsJmUpPSv4MPzv1BC5vcjeBjMtdFyiVQ7LXaLsnhPLPvqSA1mP0f/00q74atasYKPecMQUKByg+cc6i4jhnIKER3vsR9AApqn0b2+X+g8wlWCPn4B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YmdUCjbOAW9iPjjD5MoBAe
xZBGxyaFHpQN0yfump2C3Y9PaEA9HlJx_zfWcRceugSbF43YziPPy4zrw3H4bznF.p7xON2VIadh
hyGjdBn.6jgNBpxGhsstqdGhFoCIMqJA9pBad6fykihPJyCU7gmOADm.V5T3XPHnXA1YRU1Rq2YZ
Pgx2wVi53NHjuVrrOmt8VOyx34ZA83NQZuZS4VrUfUpNQW7W8o53r0enue5lXO_oxpVFPi3s8XLh
kgAeL1ekq.EI4tE9JuMyys3pU6xrtEeWwF2H7xpcgcNbkp7fB0g0kn11RQLwNEvCEZH_dKcuxkIu
SE5uue7Iq.EZoXRzSe9XkCR4PKzWaJMa2bOBKNiJ2ACKWmlDXCbaIZY_t4KhM8qMeXMsFCGgOzMF
tBMjbkifHshDG6.MgOMW3xRSsvo0t.35lH6p4LmeVjbqdoVN54H7Xw1LV4XlC23qBFwIAUYD8DwT
vy2ayMjfIHWmn5pPI4BXdH7We8hnSOyZM.M9KTF78up2Isjxe76bAypZathmDvT5vsIrGxAvBHyP
4xLcd1uiNxuy0xh97E63p8Fg0v_Tjf8w0BFTfX2fffyJ9fa8fGo9hgP._2u0Pc4Cgv_6QykPyi.u
TLmiKK4Opj2UcA2.76YS8qz4TdefV2OveH0y8CtaYfUd8SLQxVOREY8Td2GkLsjnnnP_wwzfLvIn
.DOmIl0OgiqGA3.feDToHKlARTmIJqykXfbEdMv1wWfAsPv0.0pKdhhAD4xJ9c4uIt2CgL_7XhQB
4hwtD2gN4uF1QCwcN4FKDVIaflhWwne1b2KEQxHe6jUbYQ.Uv8pURYPvCBhbEmQ--
X-Sonic-MF: <krlinus@yahoo.com>
In-Reply-To: <1766896259.80347.1650605332904@mail.yahoo.com>
X-Mailer: WebService/1.1.20118 YMailNorrin
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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>
X-Mailman-Original-Message-ID: <404643965.199417.1650647872236@mail.yahoo.com>
X-Mailman-Original-References: <961537273.97366.1650604079384.ref@mail.yahoo.com>
<961537273.97366.1650604079384@mail.yahoo.com>
<1766896259.80347.1650605332904@mail.yahoo.com>
 by: Sunil KR - Fri, 22 Apr 2022 17:17 UTC

Please excuse the formatting in my previous message. And it is not complete even, so here is the rest of it.
What happens after I follow the above steps:
- Upon running one of my python 2 scripts (using python2), I see this error:
    """       ^SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 237-238: truncated \uXXXX escape
I tried for a bit, but I could not isolate the content of the file that may be causing this problem. But any idea about this problem would be greatly appreciated.
Removing python3 solves this issue..
Sunil

On Friday, April 22, 2022, 09:09:22 AM PDT, Sunil KR via Python-list <python-list@python.org> wrote:
I have some scripts that are old and won't work under python2 and at the same time I am writing new scripts which will use python3. However, if python 2 and 3 cannot co-exist in a windows box it will be impossible to transition
What I try:- remove all pythons and launchers- Use windows installer and install python2 in python27 directory- Use windows installer and install python3 in python310 directory- When installing python3 I opt in to install the launcher- Test with py -2 and py -3 and see that I get the expected prompt- just typing python gets me python2
--
https://mail.python.org/mailman/listinfo/python-list


devel / comp.lang.python / Re: How to have python 2 and 3 both on windows?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor