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
  
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to